Board index » delphi » How to detect a MouseDown or MouseUp in a DBGrid

How to detect a MouseDown or MouseUp in a DBGrid

Hi there,

Can some kind soul tell me how do I detect when a user has clicked
on an item within a DBGrid. I need to know this, as when a user selects a
particular  item in a DBGrid, certain components on the form are actived
or deactived. Can anyone help me with this problem ??

Any Ideas/suggestions/comments/thoughts would be appreciated ...

many Thanks in advance ...

Bruce W. Hearder
---
###################################################################
GME Systems Pty Ltd                        Perth, Western Australia
Email : b...@iinet.net.au       WWW   : http://www.iinet.net.au/~bwh
###################################################################

 

Re:How to detect a MouseDown or MouseUp in a DBGrid


Quote
b...@iinet.net.au (Bruce Hearder) wrote:
>Can some kind soul tell me how do I detect when a user has clicked
>on an item within a DBGrid. I need to know this, as when a user selects a
>particular  item in a DBGrid, certain components on the form are actived
>or deactived. Can anyone help me with this problem ??

Try using the OnColEnter event which works for mouse clicks and
tabing.

Farley Carter
car...@idirect.com

Other Threads