MDI

  • Thread starter Thread starter TomislaW
  • Start date Start date
T

TomislaW

How can I enable/disable button on mdi parent form when I click on some
control in activ child form?
 
Hi,
through the:
this.MdiParent.(ButtonName).(PropertyName)
But of course, you have to make sure that you can access the button. If it's
private, then you can't access it
 
Rami Saad said:
Hi,
through the:
this.MdiParent.(ButtonName).(PropertyName)
But of course, you have to make sure that you can access the button.
If it's private, then you can't access it

Hmmm... If it's private then you must create public property
wrapper(envelope or proxy... sorry for my english) on MdiParent class and
then set property values with wrapper.
 

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

Similar Threads


Back
Top