[Lazarus] TTreeView events OnCreateNodeClass and OnAddition

Juha Manninen juha.manninen at phnet.fi
Sat May 1 19:18:41 CEST 2010


Mattias Gaertner wrote:
> 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.

Ok, I understand now. I would be happy with either of the systems.
Delphi programs would be quite easy to convert with the property system.
On the other hand, the published event is not too complicated either.
It is good now.

Juha




More information about the Lazarus mailing list