General information
Category:
Coding, syntax & commands
Title:
Firing a method from an OKL?
Is there a way to execute a method of a control from an OKL, where the OKL is defined in the init of the form which contains the control? I want to run the Click() method of a button (which has no text prompt, just a graphic) by pressing a key sequence, like Ctrl-F. I have the following in the form's Init...
ON KEY LABEL CTRL+F ThisForm.cmdFind.Click()
... but I get the error "THISFORM can only be used within a method".
Is there a way to do this???
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