Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement