DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
// Note: method addMenu only works in the smart client. // Add the menu at the selected index (starting at 0) or add it at the end (empty).
// Note: method getMenu only works in the smart client. // Get the menu at the selected index (starting at 0).
// Note: method getMenuCount only works in the smart client. // Get the number of (top level) menu's.
// Note: method getMenuIndexByText only works in the smart client. // Retrieve the index of the item by text.
// Note: method removeAllMenus only works in the smart client. // Remove all menus from the menubar.
// Note: method removeMenu only works in the smart client. // Remove the menu(s) at the selected index/indices.
// Note: method reset only works in the smart client. // Reset the menubar to the default.
// Note: method setVisible only works in the smart client. // Show/hide the menu bar
// Note: method validate only works in the smart client. // Use this when your add/remove/edit operation won't refresh.