TreeView Xojo plugin

TreeView.SelectNode Method

Selects a node by a given node. in single selection mode.

SelectNode(
   node as TreeViewNode) as Boolean

Parameters

node
The node to select.

Returns

Boolean
If node was not in expanded scope then false is returned, else true if successful.

Remarks

Note that this method uses the slow IndexFromNode function internally. A faster way is to use the SelectedIndex property whenever possible.

See Also

TreeView Control