AddNode Property

Applies To
TreeView

Description
Add an item (node) to the tree view. Added to the first level. Continue to set the Parent property to hang it as a child of other items.

Usage

GSet Form.Control.AddNode, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name. The control must exist in the specified form.
value
String expression for the new value of the property

Values
A string that indicates the node to be added to the tree view This is different from the name displayed.

See Also
Tree View Control , Parent Property , RemoveNode Property , Text Property

Example

GSet frmMain.lstModels.AddNode, "Model1"  
GSet frmMain.lstModels.AddNode, "Model1-1"  
GSet frmMain.lstModels.Parent("Model1-1"), "Model1"