TabIndex Property

Applies To
Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid,TabControl, Wizard, TreeView

Description
Gets or sets the tab order of the control within its container.

Usage

GGet Form.Control.TabIndex, var  
GSet  Form.Control.TabIndex, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.

Values
The index of the tab order of the control.

See Also
Button Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , PictureBox Control , GroupBox Control , VideoBox Control , LED Control , ProgressBar Control , TrackBar Control , StatusBar Control , Wizard Control , Tree View Control

Example

GSet frmMain.txtStatus.TabIndex, 3