General information
Category:
Coding, syntax & commands
I want to write the following code in the double click event of the grid record.
>
>thisform.command2.click
>
>
>I am writing the above line in dblclickevnt of grid but it is not doing anything when i double click a record in the grid.
>
>
>could you please tell me.
>
>Thank you
The double click of the grid doesn't get called if you click on a column. If you want to centralize the code, put in all the text boxes "THIS.Parent.Parent.DblClick()"
Just an aside, caling the click event of a command button from elsewhere isn't usually the best of ideas. If you need to call that code from more than one place, better to put it in a form method and call that from both places.
Michelle
Previous
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