Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 ON KEY LABEL
Message
 
À
04/01/1999 21:17:03
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00172619
Message ID:
00172627
Vues:
29
>>>I need to set up shortcut keys to call the click event on a form. When the user presses PGDN, I need to trigger: thisform.cmdNext.click()
>>>
>>>I have an ON KEY PGDN thisform.cmdNext.click() but THIS can only be called from a method.
>>>
>>>Help....
>>>
>>>Bly Maxwell
>>
>>You could use a form-specific menu that would hold those kind of short cut keys.
>
>This application has no menus (and the client doesn't want any.)
>Any other ideas...

Bly,

Set the fomr's keypreview to .T. and trap the keystroke in the form's keypress event.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform