Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress Event
Message
From
23/02/1998 07:03:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00080369
Message ID:
00080403
Views:
23
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform