[Overview][Constants][Types][Classes][Procedures and functions][Index] |
CreateNode - creates a new node in a TreeView and returns its content.
Source position: comctrls.pp line 3546
protected function TCustomTreeView.CreateNode: TTreeNode; virtual; |
New tree node instance created in the method.
CreateNode is a TTreeNode function used to create a new tree node for the control. The OnCustomCreateItem event handler is signalled (when assigned) to create the class instance used as the return value. If the event handler has not been assigned, or returns a Nil value, the TTreeNodeClass class reference is used to create the tree node in the return value.
Version 3.2 | Generated 2024-02-25 | Home |