[Lazarus] clicking a dbgrid's column title does not trigger OnEnter event as with Delphi
Alejandro Gonzalo
parkingspace26 at yahoo.com
Thu Feb 13 22:01:28 CET 2014
I clicked on another component first to be sure the grid didn't have focus. OnEnter IS triggered by clicking on a grid cell, but not column header. Same for ActiveControl, which will break some code.
A. G.
On Wednesday, February 12, 2014 8:18 PM, Jesus Reyes <jesusrmx at yahoo.com.mx> wrote:
One reason would be that Lazarus DbGrid it's not a Delphi DbGrid clone.
Without more information one can only speculate: OnEnter should be triggered in case the grid has not the focus, if it already has the focus, I don't see why OnEnter should be triggered on column click.
If you explain what you want to do, probably somebody could give you some alternative.
Jesus Reyes A.
El Miércoles, 12 de febrero, 2014 18:07:05, Alejandro Gonzalo <parkingspace26 at yahoo.com> escribió:
It does in Delphi!
>I have Laz 1.0.4 for Win7 64 bit. Has this been fixed in a later version? Or is there some reason this is different from Delphi?
>
>
>A. G.
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140213/7d96b4d5/attachment-0003.html>
More information about the Lazarus
mailing list