ModernMenu usage example

Jun 12, 2013 at 8:29 AM
Edited Jun 12, 2013 at 8:33 AM

I'm trying to use the ModernMenu but it does not work as I expected.

The link groups and links are defined correctly with unique sources, but when clicking on the menu links, the source is not loaded.

What is the proper usage of the ModernMenus?

PS: ModernTab works correctly by loading the content of the source when clicking on the tabs/links
Jun 12, 2013 at 11:05 AM
Is the ModernMenu.SelectedSource bound to a ModernFrame.Source? The ModernTab comes with a ModernFrame, the ModernMenu does not.
Jun 12, 2013 at 11:28 AM
Edited Jun 12, 2013 at 1:56 PM
I created a little sample how to use the ModernMenu via code.

usage of ModernMenu via Code

if you don't want to use code to create your ModernMenu you should take a look at the mui example application from kozw.
Jun 12, 2013 at 3:28 PM
kozw, thanks for the tip; that works beautifully. I did not know that ModernMenu does not come with a ModernFrame.

Xenolith, your sample application is not using ModernMenu; it is using MenuLinkGroups which has nothing to do with the question.
Jun 12, 2013 at 4:21 PM
Oops stupid me :>