Checks an item (if the item supports it).
Collapses an item to hide its children.
Returns 1 if an item exists, otherwise 0.
Expands an item to show its children.
Returns the number of children for a selected item.
Returns the item reference of the current selection using the text reference of the item (or index reference if UseIndex is set to 1).
UseIndex | Result | Example |
---|---|---|
'' |
Text reference | Child 2 |
'1' |
Index reference | #2 |
Returns the text of an item.
Returns the state of an item.
Value | Description |
---|---|
1 | Checked |
0 | Unchecked |
-1 | Not a checkbox |
Selects an item.
Unchecks an item (if the item supports it).
Enumeration of commands for interacting with a tree view control.