TreeHasExpandedAt method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether a specific node has already been expanded.

Syntax

object.TreeCollapseRootNode( string )

  Part   Description
object Required. A reference to a valid tree component object.
string Required. The tree node ID (GUID) or node index series.

Remarks

A return value of:

  • TRUE indicates the node has been successfully expanded.
  • FALSE indicates the node has not been successfully expanded.

For more information, see Notes on the Tree Node ID (GUID) and Index Series.

Example

Dim nodeHasExpanded As Boolean = False
nodeHasExpanded = ThisForm.Components("tree1").TreeHasExpandedAt("My Tree Node ID")
nodeHasExpanded = ThisForm.Components("tree1").TreeHasExpandedAt("2,0")