MDIParent - Menu enable & disable

  • Thread starter Thread starter DNK
  • Start date Start date
D

DNK

I have an MDIParent and a menu item "Show Status".
By clicking on it, 'Show Status' Child Window has to be opened & Menu has to
be disabled.

by closing the Child menu has to be enabled.

How to achieve this.

Thanks
dnk.
 
You can put the code for disabling the menu item in the Form_Load event and
the code to enable the menu item in the Form_Closing event.

Me.Parent.menuShowStatus.Enabled = False, and
Me.Parent.menuShowStatus.Enabled = True respectively.
 
Back
Top