
Making a form a child form of an MDI form
Roguewave Software(Stingray) makes the Objective Toolkit/X which has a
control that allows you to do this. Your form can even be in separate DLL,
but when you load it ,it becomes an MDI child.
It also allows you to do docking forms and a lot more...
Good Luck.
Marc D'Aoust
Quote:
> You can put the controls and code into a VB ActiveX control project.
> From within the MDI project, you can make a generic form that will host
> the controls. You can then use the Controls collection's Add method to
> add the UserControl to the form.
> I fought with this for some time. I found some other solutions, but
> this seems to be the most reliable. There is one person someone in this
> group who made a custom controls that would allow you to load the
> external forms into the forms collection at runtime through a wrapper
> class. I tried it out and it seemed to work fine, but I decided that I
> would prefer to use the ActiveX control method.
> I am sure that the person who came up with the custom control will post
> on this thread if he is still around.
> HTH,
> ian
> > How can I do this at runtime.