On Sat, 1 May 2010 20:00:51 +0300 Juha Manninen <[email protected]> wrote:
> 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. It is just my humble opinion that instead of adding a published event property it would be simpler to have a property NodeClass: TTreeNodeClass. But since Delphi already defined an event, we use the event. So no need for a simple property. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
