Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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