TreeIsCurrentlyExpandedAt method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether a specific node is currently expanded.

Syntax

object.TreeIsCurrentlyExpandedAt( 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 that the node is expanded.
  • FALSE indicates that node is not expanded.

Example

Dim nodeIsCurrentlyExpanded As Boolean = False
nodeIsCurrentlyExpanded = ThisForm.Components("tree1").TreeIsCurrentlyExpandedAt("My Tree Node ID")
nodeIsCurrentlyExpanded = ThisForm.Components("tree1").TreeIsCurrentlyExpandedAt("2,0")
Related topics