RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeView.OnCreateNodeClass Event

Occurs when a node in the treeview is about to be created.

Pascal
property OnCreateNodeClass: TTVCreateNodeClassEvent;
C++
__property TTVCreateNodeClassEvent OnCreateNodeClass;

OnCreateNodeClass occurs when a new node object is about to be created. 

Sender is the tree view object that is about to add a new node. 

NodeClass returns a class reference that is instantiated to create a new node object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!