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.
 
Back
Top