PDA

Click to See Complete Forum and Search --> : [RESOLVED] Pass data from MDI Child to Parent


daimous
Jun 20th, 2007, 06:43 AM
hi guys help please..how will I past data from the active MDI Child form to MDI Parent Form? Thanks in advance!

Bombdrop
Jun 20th, 2007, 07:01 AM
Take a look at the following code.


MDIForm theParent = (MDIForm)this.MdiParent;

then just use the object theParent like any othere.

Hope this helps!!!
:wave: :thumb: :wave:

jmcilhinney
Jun 20th, 2007, 07:10 AM
Likewise the parent can get a reference to the child form from its ActiveMdiChild property.

daimous
Jun 20th, 2007, 06:27 PM
Thanks a lot guys! it work the way i want it.