ShowTreeNodeIcon

Description

Whether tree node icons for level and detail bands display.

Applies to

TreeView DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Tree.ShowTreeNodeIcon

Describe and Modify argument:

"DataWindow.Tree.ShowTreeNodeIcon{ = value} "

Parameter

Description

value

A boolean value that indicates whether tree node icons for level and detail bands display. Values are:

  • No – Do not display tree node icons (default).

  • Yes – Display tree node icons.

Usage


In the painter

Select the Use Tree Node Icon check box on the General page in the Properties view. If this box is not selected, the Expanded and Collapsed Tree Node Icon File check boxes on the General properties page for each TreeView level are disabled.

Examples

Example 1

[Visual Basic]
ls_ShowTreeNodeIcon = dw_1.Object.DataWindow.Tree.ShowTreeNodeIcon

Example 2

dw_1.Object.DataWindow.Tree.ShowTreeNodeIcon = 'no'