Microsoft Office Tutorials and References
In Depth Information
Adjusting UserForm Controls
Figure 13-7: The Help system provides information about each property for every control.
Accommodating keyboard users
Many users prefer to navigate through a dialog box by using the keyboard: The Tab and
Shift+Tab keystrokes cycle through the controls, and pressing a hot key (an underlined letter)
operates the control. To make sure that your dialog box works properly for keyboard users, you
must be mindful of two issues: tab order and accelerator keys.
Changing the tab order of controls
The tab order determines the sequence in which the controls are activated when the user presses
Tab or Shift+Tab. It also determines which control has the initial focus. If a user is entering text
into a TextBox control, for example, the TextBox has the focus. If the user clicks an
OptionButton, the OptionButton has the focus. The control that’s first in the tab order has the
focus when a dialog box is first displayed.