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

Click here to load this message in the networking platform