FMX.StdCtrls.TGroupBox.TabOrder

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TabOrder: TTabOrder read GetTabOrder write SetTabOrder default -1;

C++

__property TabOrder = {default=-1};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TGroupBox

Description

Indicates the position of the control in its parent's tab order.

FMX.StdCtrls.TGroupBox.TabOrder inherits from FMX.Controls.TControl.TabOrder. All content below this line refers to FMX.Controls.TControl.TabOrder.

Indicates the position of the control in its parent's tab order.

TabOrder is the order in which child controls are visited when the user presses the TAB key. The control with the TabOrder value of 0 is the control that has the focus when the form first appears.

Initially, the tab order is always the order in which the controls were added to the form. The first control added to the form has a TabOrder value of 0, the second is 1, the third is 2, and so on. Change this by changing the TabOrder property.

Each control has a unique tab-order value within its parent.

Assigning TabOrder a value greater than the number of controls contained in the parent control moves the control to the end of the tab order. The control does not take on the assigned value of TabOrder, but instead is given the number that ensures that the control is the last in the tab order.