<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>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. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>A. G.<br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, February 12, 2014 8:18 PM, Jesus Reyes <jesusrmx@yahoo.com.mx> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv8970367774"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div>One reason would be that Lazarus DbGrid it's not a Delphi DbGrid clone.</div><div><span style="background-color:transparent;"><br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;"><span style="background-color:transparent;">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.</span><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;"><span style="background-color:transparent;"><br clear="none"></span></div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;">If you explain what you want to do, probably somebody could give you some alternative.</div><div style="color:rgb(0, 0, 0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0,
0);font-size:13px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;">Jesus Reyes A.</div><div class="yiv8970367774yahoo_quoted" style="display:block;"> <br clear="none"> <br clear="none"> <div style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> El Miércoles, 12 de febrero, 2014 18:07:05, Alejandro Gonzalo <parkingspace26@yahoo.com> escribió:<br clear="none"> </font> </div> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;"> <div class="yiv8970367774y_msg_container"><div class="yiv8970367774yqt2618539296" id="yiv8970367774yqt66925"><div id="yiv8970367774"><div><div
style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:12pt;"><div>It does in Delphi!</div><div>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?</div><div><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:transparent;font-style:normal;">A. G.</div></div></div></div></div><br clear="none">--<br clear="none">_______________________________________________<br clear="none">Lazarus mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br clear="none"><a rel="nofollow"
shape="rect" target="_blank" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br clear="none"><br clear="none"><br clear="none"></div> </blockquote> </div> </div> </div> </div></div></div><br><br></div> </div> </div> </div> </div></body></html>