En Wed, 13 May 2015 19:48:56 -0500, Vojtěch Čihák <[email protected]>
escribió:
Hi,
I got troubles with TStringGrid. When I set:
goAlwaysShowEditor:=False;
goEditing:=True;
OnSelectEditor is triggered always when I select any cell, even if
editor (built-in or custom) is not shown yet.
When I click the cell for the second time, editor is shown and
OnSelectEditor is triggered again.
I guess it's a bug, after all there are other events for selecting cell
(OnSelection, OnSelectCell).
Is it by design or should I report?
Thanks, V.
P.S.:
When options are:
goAlwaysShowEditor:=True;
goEditing:=True;
OR
goAlwaysShowEditor:=False;
goEditing:=False;
OnSelectEditor works as expected.
I think is not a bug (at least that kind of bug that is against the
documentation).
But I see no reason why it should work the way it does now, please check
r49016
Jesus Reyes A.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus