TcxTreeList.InsertEx(TcxTreeListNode,TcxTreeListNode,Pointer) Method
In This Article
Inserts a new or existing node after the specified node.
#Declaration
Delphi
function InsertEx(ANode: TcxTreeListNode; ASibling: TcxTreeListNode; AData: Pointer = nil): TcxTreeListNode;
#Parameters
Name | Type | Description |
---|---|---|
ANode | Tcx |
The inserted node. If you pass nil (in Delphi) or nullptr (in C++Builder), the Insert |
ASibling | Tcx |
The created node’s sibling. The Insert function inserts the created node immediately after the ASibling node. If you pass nil (in Delphi) or nullptr (in C++Builder), the Insert function appends a new node at the root level. |
AData | Pointer | A pointer to a custom object you need to associate with the created tree node. The AData parameter value initializes the Data property of the created node. |
#Returns
Type | Description |
---|---|
Tcx |
The inserted node. |
See Also