Tree

The Tree Widget allows users to select one item from a displayed list.

 

Tree Widget

Tree Widget

 

 

Property Name

Description

Has Check Boxes

Does the Tree have a check box next to each node?

Has Plus Minus

Does the Tree show +/- next to each node with children?

Has Root Lines

Does the Tree show lines to the root?

Scrollable

Does the Tree display scroll bars when necessary?

Selection Path

The path to the selected node. For example, "\Animal\Tiger" selects the "Tiger" node which is a child of "Animal". An empty string means that nothing is selected.

Tree Items

The items in the Tree. See below about editing items.

[All other properties]

See Common Properties.

 

 

Editing Items

You can edit the items in the list in one of two ways:

 

1.You can double-click the Widget to display the Tree Item Collection Editor.
2.You can click on the "..." button on the right side of the "Tree Items" property to display the Tree Item Collection Editor.

 

Tree Item Collection Editor

Tree Item Collection Editor

 

You can use the "Add" and "Remove" buttons to add and remove nodes. The right side displays the properties of the node selected from the "Members" list.

 

Property Name

Description

Expand Children

Should the children of the node be expanded and visible?

Image

The image to display as part of the node. This will appear to the left of the node name.

Is Checked

Is this node's check box checked? This is only used if the "Has Check Boxes" property is set to true.

Tree Items

The child items of the node. The "..." button on the right side will display the properties of the currently selected child. You can use this to recursively add children.

[All other properties]

See Common Properties.