TreeRootNodeIsCurrentlyExpanded method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether the top/root node is currently expanded.

Syntax

object.TreeRootNodeIsCurrentlyExpanded( )

Part Description
object Required. A reference to a valid tree component object.

Remarks

A return value of:

  • TRUE indicates that the top/root node is currently expanded.
  • FALSE indicates that the top/root node is not currently expanded.

Example

Dim rootIsCurrentlyExpanded As Boolean = False
rootIsCurrentlyExpanded = ThisForm.Components("tree1").TreeRootNodeIsCurrentlyExpanded()