[Lazarus] Problem with TCustomTreeView
Tony Whyman
tony.whyman at mccallumwhyman.com
Fri Dec 5 13:06:00 CET 2014
On 05/12/14 10:50, Mattias Gaertner wrote:
> On Fri, 05 Dec 2014 10:25:37 +0000
> Tony Whyman <tony.whyman at mccallumwhyman.com> wrote:
>
>> and which calls a new event "OnNodeChanged". TCustomTreeView.NodeChanged
>> is called from TTreeNode whenever the Text, Data or Parent is changed.
> What about the other properties?
> Height, Index, Selected, ImageIndex, SelectedIndex, StateIndex,
> OverlayIndex, Visible, NodeEffect, ...
You are correct, if a general tidy up is being done on the control then
all interesting changes should be reported - although there is an
OnSelectionChanged event already.
a "OnNodeChanged" event should probably include an indication of what
has changed so that you can easily ignore changes you are not interested in.
More information about the Lazarus
mailing list