Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse Window Speed to fast
Message
 
À
06/01/2000 10:19:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313892
Message ID:
00314283
Vues:
39
Unfortuanately, if you use the browse command, you don't have a facility for trapping the keystrokes. On the other hand, if you use a grid control on a form, you can then take advantage of the keypress events.

The Grid control itself, does not have a KeyPress Event. However, Forms do have the KeyPress Event. So, if you set the KeyPreview Form Property to .T., you can use the form event.

Here is some code you can place in the KeyPress Event of the form...

LPARAMETERS nKeyCode, nShiftAltCtrl
If nKeyCode = 24 && down arrow
inkey(.5)
Endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform