Setting Tab Order for a Control in a View

Tab order is the order in which the tab key moves the input focus from one control to the next within a view. To make a control part of the tab order, set the Tabstop property in the Property Sheet to Yes. Non-control objects do not have the Tabstop property.

CAUTION:

If your view contains overlapping objects, changing the tab order may change the way the controls display. Controls which come first in the tab order always display on top of any overlapping controls and non-control objects that follow them in the tab order.

Prerequisites

  • You must have at least one control in the view.

Procedure

  1. If the Layout Bar is not visible, choose View >Toolbars > Layout Bar, or use the shortcut: Shift + F2.
  2. On the Layout Bar, click on Object Sheet icon . The Object Sheet (Tab Order) dialog box appears. A number at the upper left of each control shows its current tab order. Non-control objects do not have numbers, but they are listed according to their tab order.
  3. Change the tab order by clicking on the desired object in the Object Sheet dialog box, then clicking the Up or Down button.
  4. Click the OK button to save changes to the tab order, or click the Cancel button to exit the Object Sheet dialog box without saving changes.