Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.setTabIndex

Sets the tab order of this control within the parent form.

Syntax

public final void setTabIndex( int value )

Parameters

value

The zero-based index of this control within the set of controls on the form that are included in the tab order. If you specify a negative number for this parameter, the control will be the first control in the tab order. If you specify a number greater than the number of controls in the container - 1, the control will be the last control in the tab order. For a control to be included in the tab order, its tabStop property must be set to true.

See Also   getTabIndex