| In Treeviews
|
In addition
to the above properties, Treeview controls support the
following:
| 'SelectedChildren |
Number
of child items selected |
| 'SelectStateMask |
State
filter to apply.. |
Use 'SelectedChildren
in conjunction with 'SelectedStateMask
to return the number of child items with the desired
state.
When 'SelectedStateMask
is set, the 'SelectCount, 'SelectIndex,
and SelectItem properties will
reflect only those items that have the specified state;
e.g., to find all items that have a state of one, set 'SelectStateMask
to 1. 'SelectCount will then indicate
the number of items that have this state and sequencing
through 'SelectIndex
and 'SelectItem will return their item
numbers.
|