UserControl Object

               

The UserControl object is the base object used to create an ActiveX control.

Remarks

An ActiveX control created with Visual Basic is always composed of a UserControl object, plus any controls — referred to as constituent controls — that you choose to place on the UserControl.

Like Visual Basic forms, UserControl objects have code modules and visual designers. Place constituent controls on the UserControl object’s designer, just as you would place controls on a form.