Controls

concerns

 

Type

Read/Write

Controls

Yes/Yes

The Controls property determines an object reference to an object of type Controls. The object contains all object references to control containers, whose are direct children of the control container.

Example:

 

Dim Parent As Control, Ctrl As Control

 

Parent := Form1.Controls.Item(1)

 

#determines a child control with name Edit1

Ctrl := Parent.Controls.Item("Edit1")

 

#determines the first child control

Ctrl := Parent.Controls.Item(1)