Controls Collection

The Controls collection is a collection of the ActiveForm object whose elements represent each control on the current form. Read-only.

Client support

   Newlook Smartclient

   Newlook Server

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.

TIP:

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

The Add method of the Controls Collection allows new items to be added to the screen dynamically. This removes the need to add many hidden controls to a form and manipulate them from a hidden state.

The FormControlsCollectionIndex property returns the runtime index of the control in this collection.

Applies To

Form object

See Also

Active Form object | FormControlsCollectionIndex property | TabIndex property | Add method | Remove method


© 2004-2021 looksoftware. All rights reserved.