Progress
Language Tutorial
for Character


Accelerators

An accelerator is a key or key combination that executes an item from a pull-down menu without the user having to pull down the menu. You can define an accelerator for a menu item with the ACCELERATOR option in the menu-item description. This is the syntax for the ACCELERATOR option.

SYNTAX
ACCELERATOR keylabel 

In this syntax, the value keylabel must be a character-string constant that evaluates to a valid Progress key label. You can modify the keylabel by specifying one or more of these keys-SHIFT, CONTROL, ALT. For example, you can specify "ALT-F8", "PAGE-UP", etc. Progress automatically displays the specified accelerator key label next to the menu item label, so the user knows what key is the accelerator. The user can then choose a menu item by pressing the specified keys.

For more information on key labels, terminals, and how they are specified in the PROTERMCAP file, see the Progress Client Deployment Guide .

For more information on keyboard events and keyboard event precedence, see the chapter on handling user input in the Progress Programming Handbook .


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095