Mdi form controls

G

Guest

HI,

How can access the controls of the parent from the child form.
eg. how can I set the Enable property to true for a button in the MDIParent
from the The child form?

thanks
 
H

Herfried K. Wagner [MVP]

Mike said:
How can access the controls of the parent from the child form.
eg. how can I set the Enable property to true for a button in the
MDIParent
from the The child form?

\\\
DirectCast(Me.MdiParent, MainForm).Button1.Enabled = True
///
 

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