TreeCollapseNodeAt Method (WinStudio Scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Collapses a tree node, specified by an explicit node ID (GUID) or series of node indexes.

Syntax

object.TreeCollapseNodeAt ( 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

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

Examples


ThisForm.Components("tree1").TreeCollapseNodeAt("My Tree Node")
ThisForm.Components("tree1").TreeCollapseNodeAt("2,0")