Help using addMenu function (customizing menu bar)

Hello,

I am trying to understand Servoy, my first day, coming from Filemaker and very green…
I loaded the servoy_sample_crm example solution and am viewing it in the Servoy Client. There is a menu bar at the top, and I would like to customize this menu, just as a random starting point to get a feel for Servoy. The online documentation refers to the addMenu function, and I see it listed in the Solution Explorer under plugins/window/menubar, but that is where I lose the trail. How do I actually use this function to change what I see in the Servoy Client? Is there a startup script that runs when you load the solution where you can define all the menus using addMenu?

Yes, very green…
… but thanks for any clarification/pointers!

There’s an onOpen method for each solution/module where you can set your code. Just click the solution on the Solution Explorer and check the Properties tab (on the right).

To change the menu, first you’ll need to get it with plugins.window.getMenuBar();