General information
Category:
Coding, syntax & commands
>>>>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.
Jim,
I wanted to do this, but couldn't figure out how to trap for functions keys, like F2. Do they get to keypreview?
Jack
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only