Making a form a child form of an MDI form 
Author Message
 Making a form a child form of an MDI form

How can I do this at runtime.


Sun, 21 Apr 2002 03:00:00 GMT  
 Making a form a child form of an MDI form
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

Quote:

> How can I do this at runtime.



Sun, 21 Apr 2002 03:00:00 GMT  
 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.



Sun, 28 Apr 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Making a form a child form of an MDI form

2. Q: Form activate Fires On Non Child MDI Forms But Only Once On Child Mdi Forms

3. Making a child form much bigger than the parent MDI form

4. Modifying object in MDI Parent form from MDI Child form

5. Make a reference to a MDI form with a reference of a MDI child form

6. MDI-Child form and positon on MDI-form

7. Developing OLE MDI Child forms displayed on Control MDI Form

8. MDI child forms on top of a picture on a MDI form

9. Help with MDI Forms and MDI child forms

10. Modal non MDI forms and Modeless MDI child forms in VB 5.0

11. Allow MDI Child form to overlap Aligned Picture Box in MDI Form

12. Having MDI form with MDI Child form in DLL

 

 
Powered by phpBB® Forum Software