Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress Event
Message
De
23/02/1998 07:03:20
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:
00080403
Vues:
27
>>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.
Yes Jim,
I could disable OKL where needed. But how could I differ between Ctrl+Rightarrow and Ctrl+B in keypress ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform