Jump to content

Two UniMainMenu and switch by code

ming ng

Recommended Posts



I want to switch main menu for my MDI app (admin menu and user menu). I added two UniMainMenus and some options for each.


Then I set the Menu of my MainForm to UniMainMenu1 in the designer.  Added a buttion and hope to switch the main menu to UniMainMenu2 by code: 




It doesn't work as expected, anyone can please advise how to?


Best Regards




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.

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.

  • Create New...