CollapsedTreeNodeIconName

Description

The file name of the icon for a TreeView node in a TreeView level band when the icon is in the collapsed state. You set the icon file name separately for each TreeView level band.

Applies to

TreeView DataWindows

Syntax

Describe and Modify argument:

"DataWindow.Tree.Level.#.CollapsedTreeNodeIconName { = value } "

Parameter

Description

#

The number of the level for which you want to specify an icon. The level number must exist.

value

(exp) A string value that is the file name of the tree node icon in the selected TreeView level band when it is in a collapsed state.

Value can be a quoted DataWindow expression.

Usage


In the painter

Select the band by clicking the gray divider for the band. Specify a file name and location in the Collapsed Tree Node Icon File box on the General page in the Properties view. This property is disabled if the Use Tree Node Icon is not selected on the General page in the Properties view for the DataWindow.

You cannot get or set this property using dot notation.

Examples

Example 1

The following example gets the name of the icon used when a level 1 node is collapsed:

[Visual Basic]
ls_ico = dw_tview.Describe  &
 ("DataWindow.Tree.Level.1.CollapsedTreeNodeIconName")