TdxTreeViewNode.AddChildFirst(string,Pointer) Method
Prepends a new child node.
Declaration
function AddChildFirst(ACaption: string = ''; AData: Pointer = nil): TdxTreeViewNode;
Parameters
Name | Type | Description |
---|---|---|
ACaption | string | A node caption. |
AData | Pointer | A pointer to specific data. |
Returns
Type | Description |
---|---|
TdxTreeViewNode | The created node. |
Remarks
An AddChildFirst function call creates a new node with the default settings, assigns ACaption and AData parameter values to the created node’s Caption and Data properties, and prepends the node to the Items collection.
See Also