User Tools

Site Tools


koda:en:documentation:proped_treeview_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

koda:en:documentation:proped_treeview_editor [2014/07/10 10:48] (current)
Line 1: Line 1:
 +====== TreeView Editor ======
 +
 +//This dialog is accessed by double-clicking to the right of Items in Object Inspector when a TreeView control is selected.//
 +
 +{{  proped_treeview_editor.png ​ |}}
 +
 +#​remarks_header[Parts of the Editor]#
 +
 +The treeview is displayed in the control near the left side of the editor.
 +
 +The **New Node** button creates a node at the same level as the selected node.
 +
 +The **New Subnode** button creates a node one level lower than the selected node.
 +
 +The **Delete** Button deletes the selected node (and all nodes below it).
 +
 +The **Text** input box displays the name of the selected node, so it can be edited.
 +
 +**Image index** is the number of the icon in the ImageList that is displayed when the node is not selected. <color blue>​-1</​color>​ means //no icon//.
 +
 +**Selected index** is the number of the icon in the ImageList that is displayed when the node is selected. <color blue>​-1</​color>​ means //no icon//.
 +
 +**Apply** ???
 +\\
 +#​remarks_header[Operations]#​
 +
 +Displaying icons for nodes is optional. To display icons requires that an ImageList be attached to the Treeview. ​ In the Design Area:
 +  - Create the ImageList using the [[koda:​documentation:​proped_imagelist_editor|]]
 +  - A printed screen shot of the ImageList editor will be useful in assigning icons to nodes.
 +  - Select this TreeView control
 +  - In Object Inspector, choose an ImageList from the drop-down control to the right of Images
 +  - Click to the right of Items to launch this editor.
 +
 +To add a node at the current level:
 +  - If the tree already contains one or more nodes, select the node below which you wish to add a node
 +  - Click on New Item
 +  - Enter its caption in the Text input box
 +  - If icons are to be displayed beside this node, enter their numbers: for the icon when the node is not selected in Image index, and for the icon when it is selected.
 +  - To start adding another node at this level, press <​key>​Enter</​key>​.
 +
 +To add a node at the next lower level:
 +  - Select the mode that will be the parent of the new node
 +  - Click on New Subnode
 +  - Enter its caption in the Text input box
 +  - If icons are to be displayed beside this node, enter their numbers: for the icon when the node is not selected in Image index, and for the icon when it is selected.
 +  - To start adding another node at this level, press <​key>​Enter</​key>​.
 +
 +To edit the name of a node:
 +  - Select it
 +  - Edit its name in the Text input box
 +
 +To delete a node **and all nodes below it**:
 +  - Select it
 +  - Click on Delete
 +
  
koda/en/documentation/proped_treeview_editor.txt ยท Last modified: 2014/07/10 10:48 (external edit)