TabStop Property

Object List Next Object

Defined By:
Control

Description:

Determines whether a user can use the TAB key to access a control.

Settings:

The TabStop property settings are:


Setting Description


True (0) (Default) Designates the control as a tab stop.

False (-1) Skips over the control when the user is tabbing. The control still retains its place in the actual tab order.

Details:

Use TabStop to add or remove a control from the tab order on a form. Modifying the tab order using TabStop allows you to move a user through the controls on a form in a quicker, more logical fashion. For example, option buttons are often grouped and treated as a single tab location. This saves a user from having to move through each individual button in the group. To do this, designate the first option button as a tab stop by setting it to True. Next, set the remaining option buttons in the group to be skipped by setting TabStop to False.

Controls that are removed from the tab order can still be accessed with the mouse or keyboard. The actual tab order is determined by the TabGroup property. Controls with a Visible or Enabled property set to False, cannot be accessed with the TAB key.

Data Type: Integer (Boolean)

See Also:
TabGroup property