TabOrder Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies the component’s tab index.

Declaration

componentObj.TabOrder
Read-Write Property Integer
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TPanel

Description

Use the TabOrder property to obtain or set the index of the component in the tab order.

The tab order is the order in which the components are focused when the user presses the Tab key. By default, the tab order is the same as the order in which the components were added to the parent object.

The tab order can have a value in the range -1…32767. The component which has a tab index of 0, is focused when the form is displayed on the screen.

Note that the component’s tab index is relative to the tab index of the component’s parent object (either the form or another component, such as group box). That is, it specifies the order in which child components of an object are tabbed when the object is selected.

A control with tab order -1 cannot be reached with the Tab key.

Property Value

An integer value in the range -1…32767 that signifies the component’s tab index.

Remarks

Use the TabStop property to specify whether the component is included in the tab order.

See Also

TabStop Property
WantTabs Property

Highlight search results