Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dblclick event for the grid control
Message
 
 
À
24/04/2003 14:14:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781234
Message ID:
00781236
Vues:
21
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
Fil
Voir

Click here to load this message in the networking platform