Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a grid to respond to a keypress
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00182778
Message ID:
00182876
Vues:
11
>I have a grid and I want to insert a new record when the user presses a certain key (like ^INS) with *any* part of the grid selected. I know how to use the KeyPress event in the text object of a column but I don't want to force the user to have that particular text item selected. I don't see a more global "KeyPress" event available. How can I do this?

A little off the track, but why not use an Add/Insert button, and have your keyboard set to fire the button Click? It's a more standard interface, and you don't have to be concerned with where the cursor/mouse is...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform