See Controls.Add from the help file.
>I am creating an ActiveX Control which can contain one
>of 5 different controls, based on a property value.
>
>So far, I dropped all 5 onto the control, and based
>on the property value, I hid the 4 I don't want to
>see.
>
>Is there a way to programmatically add the control
>I want to display at run-time?
>
>Thanks
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com