|

NodeData


(table) A table of properties to assign to the new node, indexed by the following keys:



KEY


TYPE DESCRIPTION


Text


string


The text of the current item.



Data


string


The data of the current item.


Selected


boolean


True if the item is selected, false if it is not.


Expanded


boolean


True if the item is expanded, false if it is not.


Checked


boolean


True if the item is checked, false if it is not.


Note: If check boxes are not shown in the tree object, this property will be ignored.


NodeIndex


string


The current item's node index.


ImageIndex


number


The icon index that the current item will use when not selected. The icon file is specified in the Tree's properties. See the ImageList key in the Tree.SetProperties action for more information.


SelectedImageIndex


number


The icon index that the current item will use when selected. The icon file is specified in the Tree's properties. See the ImageList key in the Tree.SetProperties action for more information.


Re t u r n s


(string) The node index where the item was inserted to. If an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|