TdxTreeViewNodes.Add(TdxTreeViewNode,string) Method
Appends a new node at the same nesting level as the target node.
Declaration
function Add(ASibling: TdxTreeViewNode; const S: string): TdxTreeViewNode;
Parameters
Name | Type | Description |
---|---|---|
ASibling | TdxTreeViewNode | A target node. If ASibling is nil (in Delphi) or nullptr (in C++Builder), the node is added to the root node as a child. |
S | string | A node caption. |
Returns
Type | Description |
---|---|
TdxTreeViewNode | The created node. |
See Also