Controls Property

The Controls collection is a collection whose elements represent each Control in a Form. Controls are created dynamically by the recognition engine when a screen is received from the host, or according to your definitions created with the Designer.

This property must be used with an index that specifies the specific Control. The first Control in the z-order has an index of 0. The remaining Controls are included in the collection according to the z-order. Read-only.

object.Controls(index) as Collection of Control objects

Use

The Controls collection has a single property, Count, which specifies the number of elements in the collection.

See Also

Forms property | Controls Collection | ActiveForm object

Applies To

Form object


© 2004-2021 looksoftware. All rights reserved.