|
In the Window and the User Object Painter,
You can use a mouse to select any object and you can use the keyboard to select any object that has a accelerator key. Accelerator keys are underlined characters in the text of a menu item or a window object that the user can use instead of the mouse to select a displayed menu item or a window object. You can assign these keys to any window object that has text. That is:
A CheckBox
A CommandButton
A DropDownListBox
A ListBox
A MultiLineEdit
A RadioButton
A SingleLineEdit
A StaticText
TIP: To use a accelerator key to select an object when the current object is a DropDownListBox, ListBox, MultiLineEdit, or SingleLineEdit, press Alt+ the underlined character (the accelerator key).
To use a accelerator key to select an object when the current object is not a DropDownListBox, ListBox, MultiLineEdit, or SingleLineEdit, press the accelerator key.
To assign a accelerator key:
- Open the Window
or User Object Painter. 
- Decide which character in the text for the object you want to designate as the accelerator key.
- Enter an ampersand (&) before the character.
When the object displays on the screen, the character following the ampersand is underlined to indicate that it can be used to select the item. For example, to allow the user to press O to select the Open button, enter an & before the O (&O) in text of the object. When the object displays on the user's screen, the O in Open is underlined (Open).
|