WinStudio

TreeIsCurrentlyExpandedAt Method

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:

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

Example

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