User Tools

Site Tools


tree_control.htm
Navigation:  Glossary Index >====== tree control ============ Displays a logically hierarchical list of items in collapsible outline format. In Clarion, a small square filled with a plus or minus symbol, followed by a folder, represents an expandable tree control. ============ ============ List boxes with a Tree modifier (T) have a Level field (a LONG) following the tree column. On initial display, if this Level is negative, the branch is contracted. (Note: if the line has no children and a negative level, it will show a [+] when it should not, so do not arbitrarily make every level negative, only do so for parent levels.) ============ ============ As the user clicks the [+] [-] icons the tree is expanded and contracted. This does not change the Level sign but does post “expanded” and “contracted” events. On this event, you can manually update the level sign and save the contracted state of the tree. ============ ============ To determine what row is currently selected, query the PROPLIST:MouseDownRow list box property. ====== Previous pageReturn to chapter overviewNext page
tree_control.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1