Adds or inserts a tree node as a sibling to a specified relative node.
Source position: comctrls.pp line 3213
public function TTreeNodes.AddNode( |
Node: TTreeNode; |
Relative: TTreeNode; |
const S: string; |
Ptr: Pointer; |
Method: TNodeAttachMode |
):TTreeNode; |
Node |
|
Node added or inserted to the node tree for the relative node. |
Relative |
|
Tree node where the node will become a sibling. |
S |
|
Accessibility value for the tree node. |
Ptr |
|
Pointer to the accessibility data for the tree node. |
Method |
|
Method used to store the node: add or insert. |
Tree node with an updated Parent node after the operation.