6. Creating and Using Basic Fields : Scalar Fields : Tree Views : Tree View Properties
 
Share this page                  
Tree View Properties
All the properties for tree views are described under Common Field Properties, with the exception of the following properties that are specific to the Tree View field type:
AllowLabelEdit
Specifies whether the end user may edit the text labels for items in the tree view. Possible values are:
TRUE
Specifies that the items are editable
FALSE
Specifies that the items are not editable
Default: FALSE
HasButtons
Specifies whether Expand/Collapse (+/-) buttons are placed to the left of a parent item so that the end user can click the button to expand or collapse its subitems. This provides the user with an alternative to double-clicking an item. Possible values are:
TRUE
Specifies Expand/Collapse buttons
FALSE
Specifies no Expand/Collapse buttons
Default: TRUE
Note:  The HasButtons property by itself does not add buttons at the root level of the hierarchy. To do so, you must set all three properties—HasButtons, HasLines, and HasRootLine—to TRUE.
HasLines
Specifies that lines are drawn that link subitems to their parent items in the tree hierarchy. Possible values are:
TRUE
Specifies that lines are drawn
FALSE
Specifies no lines
Default: TRUE
HasRootLine
Specifies whether lines are drawn, linking parent items to the root item. A root item is a top-level item in a hierarchical tree structure that has no parent. Possible values are:
TRUE
Specifies that lines are drawn
FALSE
Specifies no lines
Default: TRUE
ShowSelection
Specifies whether an item in a tree view remains highlighted when you tab to another field. Valid settings are:
TRUE
Specifies that the highlighted or selected text remains highlighted when you tab to another field. Any item in the tree view stays marked (until you move to another record in a database or close the window).
FALSE
Removes highlighting when an item in a tree view loses focus (for example, if you tab to another field). When the tree view regains focus, the previous selection will not be highlighted.
Default: TRUE