# Tree

‘Trees’ or hierarchical lists can be created and added to your dialog box. Items in the tree are shown by a text label with an optional bitmap picture to its left. In addition, any item in the tree can contain other items. A user can see all the items in a sublist by clicking on the ‘+’ on the left of the item text, or collapse a sublist by clicking on the ‘-‘. Items can be added to the tree (or to other items) by program code, or from SIMDRAW through the ‘Properties..’ dialog.

Add item to tree - To add an item the tree itself, first set the Reference Name, Id, and Label of the new item. Use the browse “..” button to select a bitmap if you want a small picture next to your tree item. Click on the “Add to tree” button.

Add item to item - First select the item you want to add to. Follow the steps above for defining the new item. Click on the “Add to item” button.

Changing an item - Select the item to change. Reset the attributes then click on the “Update” button.

Removing an item - Select the item to remove then click on “Remove” button. Any items contained by this item will also be deleted.