[Lazarus] Treeview bug
Michael Van Canneyt
michael at freepascal.org
Mon Apr 15 10:00:37 CEST 2019
Hi,
When you set Multiselect = True, the treeview (Linux, GTK) sends OnChange
messages with Nil node.
procedure TCustomTreeView.OnChangeTimer(Sender: TObject);
begin
FChangeTimer.Enabled := False;
//debugln('TCustomTreeView.OnChangeTimer');
FCallingChange := True;
try
Change(FSelectedNode); // <<-- FSelectedNode is Nil.
finally
FCallingChange := False;
end;
end;
Is this by design ?
Michael.
More information about the lazarus
mailing list