Mattias Gaertner wrote: > The easiest way would be a simple property NodeClass: TTreeNodeClass.
Where should I add that property? if nodes are created with TreeView.Items.AddObject(...) or similar method, there is no way to define the node type. > For Delphi compatibility I added OnCreateNodeClass. Thanks. Now there is OnAddition waiting in bug tracker. See: issue #16383: Implemented TTreeview.OnAddition event Regards, Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
