MDI child form disables all its objets? 
Author Message
 MDI child form disables all its objets?

Hi,
I have two forms.I want to make one of them parent and the other child.
When I use myChildForm.Show() my child form appears but all its objects like
textBoxs, labels... become disabled. I mean I can't use any of the objects
on the child form.
My code is like;
/* in form1 class... */
Form2 myChildForm=new From2();
myChildForm.Show();

properties; Form1.IsMdiParent=true

Help please?
thanks...



Wed, 08 Jun 2005 17:06:26 GMT  
 MDI child form disables all its objets?
Ozgur,

    On Form2, you have to set the MdiParent property to Form1.  This will
make it an MDI child.

    Hope this helps.

--
          - Nicholas Paldino [.NET/C# MVP]


Quote:
> Hi,
> I have two forms.I want to make one of them parent and the other child.
> When I use myChildForm.Show() my child form appears but all its objects
like
> textBoxs, labels... become disabled. I mean I can't use any of the objects
> on the child form.
> My code is like;
> /* in form1 class... */
> Form2 myChildForm=new From2();
> myChildForm.Show();

> properties; Form1.IsMdiParent=true

> Help please?
> thanks...



Wed, 08 Jun 2005 21:49:39 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How develop MDI application with child forms like VB MDI and Child forms

2. DataView filter not working in MDI child forms with reference to MDI parent DataSet

3. How develop MDI form with child forms

4. How to let parent form listening MDI child Form

5. Opening a new MDI child when no MDI Child exists

6. Opening a new MDI child from a MDI Child

7. Disable Child creation in MDI ...

8. Disabling the min/max buttons on an MDI child

9. Disable Child creation in MDI ...

10. how to disable the close button of MDI child window

11. MDI - Problem enabling/disabling child window close button

12. Disable MDI child create

 

 
Powered by phpBB® Forum Software