KeyAction - Button
Sent to a button, usually via on_key, to perform the same action as when the button is pressed
Type: Procedure
Syntax
Procedure KeyAction
Call Example
Send KeyAction
Description
The KeyAction message can be sent to a button, usually via the On_Key command, to perform the same action as when the button is clicked. If the button is disabled via Enabled_State, no action will occur.
Object oOkButton is a Button
set Location to 10 10
set Label to "&Ok"
Procedure OnClick
Send Close_Panel
End_Procedure
End_Object
On_Key Key_Alt+Key_O Send KeyAction of oOkButton