Help! MDI Child Form won't show 
Author Message
 Help! MDI Child Form won't show

I've created a form and set the MDIChild property to True.  Then I used the
following code in a menu procedure, just like the manual says..

Private Sub mnuTest_Click()

Dim NewDoc As New Form1

NewDoc.Show

End Sub

No form shows up.  No form, no errors, no task bar icons... nothing.  What
am I doing wrong?

Brian-



Thu, 19 Jun 2003 09:35:38 GMT  
 Help! MDI Child Form won't show


Wed, 18 Jun 1902 08:00:00 GMT  
 Help! MDI Child Form won't show
My problem was that I had a PictureBox on my MDI form so that it could
contain controls and act as a sort of main console. When I loaded my child
forms they were not visible because they were behind the PictureBox.

I think I'll have to create a separate MDI Child Form to use as the main
console and set it to be the startup form.

That's what I get for trying to be tricky.

Brian-


Quote:
> I've created a form and set the MDIChild property to True.  Then I used
the
> following code in a menu procedure, just like the manual says..

> Private Sub mnuTest_Click()

> Dim NewDoc As New Form1

> NewDoc.Show

> End Sub

> No form shows up.  No form, no errors, no task bar icons... nothing.  What
> am I doing wrong?

> Brian-



Thu, 19 Jun 2003 09:48:16 GMT  
 
 [ 3 post ] 

 Relevant Pages 

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

2. Show an MDI Child Form's System Menu

3. Help: Change a MDI child's parent MDI form at run-time

4. Child forms won't load in MDI with gradient fill

5. Problem with MDI child forms in Win '95

6. HELP : Showing a MDI Child form

7. Show a form - not as child - outside a MDI-parent form

8. Help with MDI Forms and MDI child forms

9. MDI Form's menu replaced by MDI Child

10. F1 context sensitive help doesn't work on MDI child forms

11. HELP: Child form doesn't show

12. Code won't branch properly into MDI Child

 

 
Powered by phpBB® Forum Software