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

TTreeNodes.AddChildObjectFirst

AddChildObjectFirst - adds a node with specified text and data as the first child of the parent node and returns the new node.

Declaration

Source position: comctrls.pp line 3210

public function TTreeNodes.AddChildObjectFirst(

  ParentNode: TTreeNode;

  const S: string;

  Data: Pointer

):TTreeNode;