Jump to content

Disable / Enable UniMainMenu


ming ng
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...