FormControlsCollectionIndex Property

Returns the current index for an object in the active form's Controls collection. Read-only.

object.FormControlsCollectionIndex = [integer]

Where object is an object expression that evaluates to one of the objects in the Applies To list, and integer is the index of the control in the form's Controls collection.

Use

Controls are created dynamically by the recognition engine when a screen is received from the host, and from controls inserted in Designer. They can also be created dynamically at runtime via the Add method.

This property is read-only and used to reference a specific control.

TIP:

It is possible to change a control's index in the Controls collection by changing its Tab Order.

See Also

Controls Collection | TabIndex property | Controls property

Applies To

ActiveX control

Check box control

Combo box control

Command button control

Data control

DataGrid control

Date combo box control

Frame control

GoogleBarChart control

GoogleMap control

GooglePieChart control

HTML control

IFrame control

Label control

Listbox control

ListView control

Menu button control

NumericCombo control

Option button control

Panel control

PictureBox control

ProgressBar control

ScrollBar control (control deprecated in version 10.5)

SmartNav control

SmartNav Group object

Tab control

TabPage object

Text box control

TrackBar control

TreeView control

UpDown control