Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress Event
Message
 
À
23/02/1998 04:57:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00080369
Message ID:
00080396
Vues:
30
>push key clear
>on key label "Ctrl+S" oToolbar.tbSearch.Click
>on key label "Ctrl+RightArrow" oToolBar.tbNext.Click
>on key label "Ctrl+LeftArrow" oToolBar.tbPrev.Click
>on key label "Ctrl+Home" oToolBar.tbFirst.Click
>on key label "Ctrl+End" oToolBar.tbLast.Click
>
Cetin,

DO NOT Use ON KEY LABEL unless you mean for the keys to interrupt running code. OKL is an intercommadn interrupt and as such it will interrupt running code and branch out to the OKL routine. What would happen if a vlaid for a control was running and the user pressed the OKL to go to the next record?

The Keypress is THE way to do what Steve is asking about. OKL's are good for interrupting code only.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform