Tree.GetSelectedNode

string Tree.GetSelectedNode ( 

string ObjectName )

Example 1

-- Get the selected item's node index
sNodeIndex = Tree.GetSelectedNode("Tree1");

-- Get the properties of the currently selected item
tProps = Tree.GetNode("Tree1", sNodeIndex);

Gets the properties of the currently selected item in the "Tree1" tree object and stores them in table "tProps".

See also:  Related Actions