Sorry for asking such a basic question, but I'm having a problem understanding how I should be setting up my Menu system. For a start I assume the code needs to go into my onSolutionOpen method. But my main problem is that I copied the example from the help addMenuItem and I just get masses of errors. (Starting with the first line!)
- Code: Select all
var menu = plugins.window.getMenu(plugins.window.getMenuCount() - 1);
Multiple markers at this line
- The method getMenu() from the type Plugin<window> is deprecated
- The method getMenuCount() from the type Plugin<window> is
deprecated
Is there something I need to setup first to enable this to work?
Does Servoy have some kind of visual menu builder similar to Foxpro.
Any help would be greatly appreciated.
Caroline