6. Creating and Using Basic Fields : Scalar Fields : Tree Views : Create a Tree View
 
Share this page                  
Create a Tree View
You can create a tree view on your form.
To add a tree view field to your form
1. Open your frame in the Frame Editor (see Open an Existing Frame (see Open an Existing Frame)).
2. Select the Tree View icon on the field palette.
3. Place the tree view field on the form.
4. Set the properties for the tree view field, including AllowLabelEdit, HasButtons, HasLines, and HasRootLine.
As stated previously, the tree view initially appears empty even if you set HasButtons, HasLines, and HasRootLine to TRUE because the contents of the tree view must be defined programmatically.
Note:  For complete descriptions of each field property, see Tree View Properties and Common Field Properties. Additionally, see the Tree, TreeNode, and TreeViewField class topics in the Language Reference Guide.