Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another grid question...
Message
De
25/06/2003 17:28:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/06/2003 15:24:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00803964
Message ID:
00804018
Vues:
21
>Is there a way to cause a double-click event to fire using the keyboard? I have a grid where the columns are all read-only. The textboxes in the grid columns all have code in their double-click events to cause a command button to fire in the event the user double-clicks on a row in the grid. The command button uses a value on the current row they double-clicked on to cause a specific action to be taken for that value. Is there any way to affect the same thing via the keyboard only? And I've tried using the corner of the keyboard to double-click the mouse but it's still a little bit cumbersome... :)
>
>Thanks,
>Jim White

You could intercept KeyPress() (for each Column.TextBox), to check for a specific keystroke.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform