Language Reference Guide : 4. System Classes : MenuButton Class : SpeedKey Attribute
 
Share this page                  
SpeedKey Attribute
Data Type: integer
4GL Access: RW
The SpeedKey attribute provides a numbered speed key that the end user can press to select the MenuButton.
Pressing the speed key triggers any click events specified for the MenuButton.
You can set user-defined speed keys 1–36 by using those integer values directly. OpenROAD also provides a special set of constants for the standard speed keys used in an application (for example, SK_SAVE and SK_UNDO). The keys associated with these constants vary for each system.
Descriptions of system constant values and their numeric equivalents are listed in SpeedKey Settings. For the physical key mappings for these constants, see the appendix "Speed Key Mapping" in the Workbench User Guide.