Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dblclick in a grid
Message
From
04/06/1998 03:22:27
 
 
To
03/06/1998 02:49:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103883
Message ID:
00104590
Views:
25
>>>>>I have code in the dblclick event of a grid. But this only works if the user clicks in an empty area of the grid (Without columns, rows). There is a solution to intercept the dblclick in a control within a grid without putting the same code on all of the controls of the grid ?>>>Carlos.>>Yes but a little bit complex. Place a shape control (that is done in grid init) in front of grid. Shape intercepts the clicks and passes to underlying grid as needed.>>Cetin>>Thanks again Cetin. I have not thinked a lot about this problem. This is a good solution.You could also code the DblClick event in to current controls of thecolumns.Sonali > >Sonali, of course i can do this, but i have 18 columns in grid and that's a lot. Thanks anyway. One way to overcome that would be to subclass the text control and use that instead of the Default Text1. Sonali
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform