Graphical User Interface Support for Spin Button Controls
Users can interact with the spin button using either the keyboard or a pointing
device, such as a mouse, as follows:
- Using the select button (button 1) on the pointing
device, users first give focus to the spin field they want to change, and
then click on either the Up Arrow or Down Arrow until the value they want
is displayed in the spin field.
- Using a keyboard, users press the:
- Up Arrow and Down Arrow keys to see the choices
- Left Arrow and Right Arrow keys to move the cursor
left and right within a spin field
- Home and End keys to move the cursor to the first
and last characters in a spin field
- Tab and Shift+Tab keys to move the input focus from
one field to another in multi-field spin buttons
Users can view the values in a spin field one at a time, or they can rapidly
scroll a list by keeping either the Up or Down Arrow keys pressed. When
a spin button is not read-only, users can advance quickly to the value they
want to set in a spin field by typing over the value currently displayed.
[Back: Creating a Spin Button]
[Next: Static Controls]