I tested with r. 49022. Works well.
 
Thank you!
 
______________________________________________________________
Od: "Jesus Reyes A." <jesus...@gmail.com>
Komu: Lazarus mailing list <lazarus@lists.lazarus.freepascal.org>
Datum: 14.05.2015 09:05
Předmět: Re: [Lazarus] TStringGrid.OnSelectEditor

En Wed, 13 May 2015 19:48:56 -0500, Vojtěch Čihák <vojtech.ci...@atlas.cz> 
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 r49016Jesus Reyes A. 

----------

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to