Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

Parent

A parent item can be located at any level. In order to become a parent item, an item must be marked expandable (using SetItemExpandable) or have one or more dependents, which are items that immediately follow the parent item and are on a lower level. A parent item may be expanded and collapsed. Expanding a parent item means making its immediate dependents (items on the next lower level) visible. Collapsing a parent item means hiding all its dependents (on all lower levels). The Expand and Collapse functions are used to expand and collapse items. Parent items may have sibling and parent items. The GetParent function returns an item's parent index.