Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Dbl Click in a grid
Message
De
11/12/1999 18:18:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00302214
Message ID:
00302298
Vues:
33
Hi Gerard,

>The Double click event only fires on specific controls within the grid. As my controls will vary depending on circumstances (user defined) , I would like to be able to just detect if a DblClick has occurred, or the Enter key has been entered, anywhere on the Grid.

You could put a method in your grid that all the controls in your columns fire in their DBLClick(). To Aviod putting alot of code in your grid components to trap the Enter, I suggest putting a command button on the form with Default set to .T., and call the same method as the Double Click's in the click of the command button. THat will give your users 3 (count 'em three) ways to select the record.

Does this help?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform