[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TWinControl.TabOrder

Indicates the navigation order for the control when the user presses the Tab or Shift+Tab key.

## Declaration

Source position: controls.pp line 2341

`public property TWinControl.TabOrder : TTabOrder read GetTabOrder write SetTabOrder default - 1;`

## Description

TabOrder is a TTabOrder with a numeric value which indicates the navigation order for the control when the user presses the Tab or Shift+Tab key. The default value for the property is -1 and indicates that an explicit value has not been assigned.

Each TWinControl has an internal list used to maintain the tab order for its child Controls. When TabOrder is -1 for a given child control, it added to the end of the tab order list. A non-zero value forces the control to be stored at that ordinal position in the tab order list. Setting a new value for the property causes the private UpdateTabOrder method to be called to maintain the sequence for the child controls.

Use TabStop to indicate if the control can be focused using tab order navigation request.

## See also

TWinControl.TabStop |  | Allows the user to navigate to / from the control by pressing the Tab or Shift+Tab keys.