Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Tree.Level.#.property – PB Docs 2019 – PowerBuilder Library

Tree.Level.#.property – PB Docs 2019

Tree.Level.#.property

property (DataWindow object)

Description

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

Applies to

TreeView DataWindows

Syntax

Describe and Modify argument:

Parameter

Description

#

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

property

A property that indicates whether the icon
specified is for the expanded or collapsed state. Values
are:

  • CollapsedTreeNodeIconName

  • ExpandedTreeNodeIconName

value

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

Value can be a quoted DataWindow
expression.

Usage

In the painter

Select the level by clicking the gray divider for the band.
Specify a file name and location in the Collapsed Tree Node Icon File
and Expanded Tree Node Icon File boxes on the General tab in the
Properties view for the band. These properties are disabled if Use Tree
Node Icon is not selected on the General tab in the Properties view for
the DataWindow.

You cannot get or set these properties using dot notation.

Examples

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x