Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 ON KEY LABEL
Message
From
04/01/1999 21:38:07
 
 
To
04/01/1999 21:17:03
Bly Beach
Discovery Unlimited, Inc.
Arnoldsville, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172619
Message ID:
00172626
Views:
30
>>>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...

I hate to use the old 2x OKL's. If you have to you can do

ON KEY PGDN _screen.Activeform.cmdNext.click()

Place it in the Load of the form and kill on the way out.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform