Type |
Read/Write |
Controls |
Yes/No |
By retrieving the Controls property, you get an object of type Controls, which contains a collection of all the top level controls that are stored on the specified form.
Dim Ctrl As Control
Ctrl := Form.Controls.Item("Edit1")
Dim Ctrl As Control
Ctrl := Form.Controls.Item(1)