Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TTreeNodes.AddObject

AddObject - adds a node with specified text and data-pointer in the same level as SiblingNode. and returns the new node.

Declaration

Source position: comctrls.pp line 3215

public function TTreeNodes.AddObject(

  SiblingNode: TTreeNode;

  const S: string;

  Data: Pointer

):TTreeNode;