State property: Node class
Description
This property returns the state of the node, that is, does it have children, and are they expanded or collapsed.
See Expand method: Node class.
The values for this property are:
| Value | Description |
|---|---|
|
0 |
Node has no children |
|
1 |
Children are expanded |
|
2 |
Children are collapsed |
|
3 |
Leaves are collapsed |
This property is read-only.
Example
&VALUE = &MYNODE.State;
If &VALUE = 2 Then
&MYNODE.Expand(0);
End-if;