TCustomTreeView.CreateNode function
CreateNode - creates a new node in a TreeView and returns its
content.Declaration
function CreateNode: TTreeNode; virtualDescription
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.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
