Concept Framework 1.0 documentation Contents | Index

RTreeView.AddChild

Name Type Access Version Deprecated
AddChild function public version 1.0 no

Prototype:
public function AddChild(path_after, item)

Parameters:
path_after      the parent path as a number, string (eg: "1:2:1") or array (eg: [1,2,1])
item      the item to be added as a child.

Description:
Adds a child to the tree node specified. This function has unpredictable result if the Model property is not set to MODEL_TREEVIEW. The item can be a string/number, RImage or RComboBox(for views with one column) or an array for views containing more than one column. After calling this function, you can't set the {Sort} property.

Returns:
Returns the path on which the child was added.

Documented by Eduard Suica, generation time: Thu Oct 15 20:01:58 2009 GMT(c)2009 RadGs Software