Tree node

Properties

Object specific
$checked If true, the line is checked
$drawinactive If true, the text for the node is drawn to indicate that the node is not active, and the expand/collapse box is hidden
$enterable If true, the grid is enterable
$iconid The icon identifier used to reference the icon
$isexpanded If true, the node is already expanded
$level The node indent level within the tree
$multipleselect If true, the field allows the user to select more than one line
$rowdata The row variable containing the column data for the node, used when the tree list has more than one column. Column N of the row variable contains the data of column (N + 1) of the tree list. Each column is a character string of up to 255 characters
$seedid A unique number assigned to a node within a tree
$showexpandalways If true, the node is to always show the expand/collapse box
$tag A user value stored with the node
Standard $ident $name $textcolor

Methods

Object specific
$add $add(cName[,iIdent,lRowForColumns]) adds a new child node beneath the node
$clearallnodes Clears all nodes below the node, or when called as a method of the tree object, all nodes in the tree
$collapse $collapse([bRecursive=kFalse]) Collapses the node; if bRecursive is kTrue, it also collapses all children of the node recursively
$expand $expand([bRecursive=kFalse]) Expands the node; if bRecursive is kTrue, it also expands all children of the node recursively
$first Returns an item reference to the first child node
$nodeparent Return the nodes parent node. An empty return indicates a root node
$remove $remove(rItem[,bKeepSameParent=kFalse]) deletes the specified child node, which must be immediately below the node. bKeepSameParent provides some control over the new selected node
Standard $addafter $addbefore $count