Does it loooks right in the Form designer? What are the values of the Left and Top properties for the class on the form in the Properties Sheet? Is there any code in the class that could reset them to 0 when form is run?
>Drag'n'drop from Project Manager / Classes to a form.
>
>
>>How do you add your Web Browser class to a form?
>>
>>>I wanted to make my own class based on ActiveX MS Web Browser control.
>>>But I have two problems while putting objects on a form:
>>>- If I'm making it based on Web Browser control then instance of that object appears in the left upper corner of a form, while it was set to other position
>>>- if I'm putting MS web control into container class, then I have to click on container to show it on the form, because it is not shown when form is running.
>>>
--sb--