Event Handlers
These commands and functions make it possible for you to specify the action a program takes when a given event occurs.
Use |
To |
---|---|
Bind a COM server event to implemented interface methods on a Visual FoxPro object. |
|
Specify a valid expression or Visual FoxPro command to execute when an error occurs in code at run time. |
|
Specify a command that executes when you press the ESC key during program or command execution. |
|
Specify a command that executes when you press a specific key or key combination or click the mouse button. |
|
Specify the menu or menu bar that is activated when you choose a specific menu title. |
|
Specify the menu or menu bar that is activated when you choose a specific menu title. |
|
Specify a command that executes when you choose any menu item from a specified menu or from all menus. |
|
Specify a command that executes when you try to exit Visual FoxPro, or Microsoft Windows. |
|
Return the command assigned to each of these event-handling commands: ON ERROR, ON ESCAPE, ON KEY LABEL, or ON PAGE. |