I would choose a container or control. Container is more flexible if you need to access objects individually.
Cetin
>Hi,
>
>Thank for your advise. However, you get the oleinput and oleoutput wrong.
>Opendevice() is a method of the form but oleinput and oleoutput are
>both ActiveX control that I place on the form, that are the class that
>I want to use. Both the activeX control had their methods called
>opendevice and closedevice too. I am using the class method to simpify
>my coding only by having the form class method to do it.
>
>Next, since I am using class designer to create my class. Which
>control must I subclass from in my cases, from Control or custom ?
>How do I decide on that. Currently, I subclass them from the form.
>Please advise. Thank you