Tree.GetNode

table Tree.GetNode ( 

string ObjectName,

string NodeIndex )

Example 1

-- Get the node properties
NodeProperties = Tree.GetNode("Tree1", "2");

-- Check if selected
if NodeProperties.Selected then
   -- Node is currently selected
else
   -- Node is currently NOT selected
end

Gets the node properties of node "2" from the "Tree1" tree object, and checks if the node is selected.

See also:  Related Actions