TreeRootNodeHasExpanded method (WinStudio scripts)
Applies To
IWSFormComponent interface, tree objects
Definition
Returns a Boolean value indicating whether the top/root node has already been expanded.
Syntax
object.TreeRootNodeHasExpanded( )
Part | Description |
object | Required. A reference to a valid tree component object. |
Remarks
A return value of:
- TRUE indicates that the node has already been expanded.
- FALSE indicates that the node has not already been expanded.
Example
Dim rootHasExpanded As Boolean = False
rootHasExpanded = ThisForm.Components("tree1").TreeRootNodeHasExpanded()