Accessing Mdi Child Form Control form another one

K

Kurtulus

Hi;
I have problem for very long time. I have one mdiparent form and
several mdichild form. I have tried to change one control on the mdi
parent form form anther one. However I have encountered an error which
is "An unhandled exception of type 'System.NullReferenceException'
occurred in .....exe
Additional information: Object reference not set to an instance of an
object."
Can you tell me what the solution and problem is?
Thank you for your consideration.
 
C

Cerebrus

Hi,

Your Subject Line and Problem description are conflicting.

Are you trying to access the MDI Parent or the MDI Child ? And from
which form are you trying to access this ? Please clarify and someone
might be able to help you.
From the exception, it is apparent that an object has not been
instantiated at the place you are trying to update it.

Regards,

Cerebrus.
 
K

Kurtulus

Hi,
Actually, I have tried all of them which are form Parent to child, from
child to parent and from child to child (actually one procedure in the
child form call another procedure in the module and module change a
textbox text in another mdi child form)
 
K

Kurtulus

Hi,
Actually, I have tried all of them which are form Parent to child, from
child to parent and from child to child (actually one procedure in the
child form call another procedure in the module and module change a
textbox text in another mdi child form)
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top