Sign in Join
FPDoc Onlineexperiment

TTreeNodes.AddObject function

Member of TTreeNodespublicIn unit ComCtrls

Adds a node with the specified text and data at the same level as the sibling node.

Declaration

pascal
function AddObject(SiblingNode: TTreeNode; const S: string; 
 Data: Pointer): TTreeNode

Arguments

SiblingNode

Node which is a sibling for the newly created tree node. Provides access to the Parent node (when assigned).

S

Text for the new tree node.

Data

Pointer to the data for the new tree node.

Function result

TTreeNode instance created in the method.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.