Jump to content

Disable / Enable UniMainMenu


ming ng

Recommended Posts

Hi

 

I am creating an MDI App.  I have several MDI Children forms and one of them is to be ShowModal.

 

After ShowModal of that form, the main menu was still active, is there a simple way to disable the menu by simple code like: UniMainMenu1.Disable?

 

Currently I have to work around it by creating two procedures to enable / disable each menu item separately.  Before I show modal, I call the "Disable All Menu Items" procedure, then at the Callback of ShowModal(CallBack), I call the "Enable All Menu Items".  I hope there is a simpler way to do this.  Anybody knows about it can you please advise?  Many thanks.

 

Best Regards

Ming Ng

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...