[Lazarus] Code navigation

Leonardo M. Ramé l.rame at griensu.com
Sat May 1 23:17:22 CEST 2010


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




More information about the Lazarus mailing list