TabIndex Property
Applies To
Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid,TabControl
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, Label, TextBox, RadioButton, Checkbox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar
Example
GSet frmMain.txtStatus.TabIndex, 3