Tree.ExpandNode

Tree.ExpandNode (

string ObjectName,

string NodeIndex )

Description

Expands the specified node and all sub items.

Note: If the specified node is not currently visible (under a collapsed parent node, for example), the node will still be expanded, but it will not be made visible (the parent node will remain collapsed). To force a node to become visible, us the Tree.EnsureVisible action.

Parameters

ObjectName

(string) The name of the tree object.

NodeIndex

(string) The index of the node whose data you want to expand.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions