Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 ON KEY LABEL
Message
 
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:
00172627
Views:
28
>>>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...

Bly,

Set the fomr's keypreview to .T. and trap the keystroke in the form's keypress event.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform