speaking without any proof as Im not on my development machine at present but couldnt you use the onmousedown event (or something similar) if it has one?
chris >>> [EMAIL PROTECTED] 6/04/2004 2:47:25 p.m. >>> Hi Still having problems with StringGrid events. I have some code that I want to run if a user clicks on a StringGrid.Row. It's in the OnClick event. I have some other, purely grid-navigation, code that I want to run based on the KeyDown event of the grid eg Home , End, Page Up/Down. It seems that whenever the cursor is moved within the grid (by the navigation code), the OnClick event is triggered. Does this seem right or should I look elsewhere for something causing this? If it is right, is there a way to prevent this auto-triggering of OnClick? Mark _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi ______________________________________________________ The contents of this e-mail are privileged and/or confidential to the named recipient and are not to be used by any other person and/or organisation. If you have received this e-mail in error, please notify the sender and delete all material pertaining to this e-mail. ______________________________________________________ _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
