General information
Category:
Forms & Form designer
>>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only