Hi Nadya,
if you create a new class based on a container, you should be able to drop the activeX in the container and add the new properties and methods to the container. You could possibly duplicate all the properties and events of the ActiveX at the container level if you want to.
But you won't be able to add methods to the ActiveX itself (I don't think).
Frank
>Hi everybody,
>
>I am wondering if there is a way to subclass an ActiveX control besides adding it to a form? How can I do it visually with a container? We want to subclass a DbiTech ctDropDate control in order to add two new methods (Validate and SetDates), but we could not figure out the simple way to subclass this control.
>
>
>Thanks a lot in advance.