Visual Basic Extensibility Reference
VBControls Collection
See Also Example Properties Methods Events
Returns a collection all components on a form.
Syntax
VBControls
Remarks
A program can access controls through the VBControls collection. Using the VBControls collection, you can:
Access all the controls on a component.
Step through the collection of controls.
Return a specific control.
Add controls to a component.
The Item method determines the default value of the VBControls collection.
The VBControls collection replaces the ControlTemplates collection from Visual Basic version 4.0.