[Lazarus] TStringGrid.OnSelectEditor

Vojtěch Čihák vojtech.cihak at atlas.cz
Thu May 14 02:48:56 CEST 2015


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150514/5741ae6f/attachment-0002.html>


More information about the Lazarus mailing list