Tree.Leaf.TreeNodeIconName

Description

The file name of the tree node icon in the detail band.

Applies to

TreeView DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Tree.Leaf.TreeNodeIconName

Describe and Modify argument:

"DataWindow.Tree.Leaf.TreeNodeIconName { = value } “

Parameter

Description

value

(exp) A string value for the file name of the tree node icon in the detail band.

Value can be a quoted DataWindow expression.

Usage


In the painter

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

For the TreeView Web DataWindow, the image file must be deployed to the Web site.

Examples

Example 1

ls_LeafIcon =  &
   dw1.Object.DataWindow.Tree.Leaf.TreeNodeIconName

Example 2

dw1.Object.DataWindow.Tree.Leaf.TreeNodeIconName =  &
   "c:\pictures\treenode.bmp"