Hi,
I am trying to make a small AboutBox menu item appear inside my app’s Application menu.
I have a single window application with the default menubar called MainMenuBar
I have created a menu item - named it AboutBox, and set it’s super to AppleMenuItem.
In my MainWindow I have created a menu handler called AboutBox and have the following code attached to it:
AboutBoxWindow.show
Return True
However, when I run my app - the menu item does not display anywhere??
Ok,
I now have the menuItem showing, as in the screenshot below: Screenshot
Could someone please advise me how I prevent the About menu from displaying, and get About This Software to appear under the application menu.
I have tried selecting the About This Software menu item and changed it’s super to ApplicationMenu - it then appears correctly under the application menu (as desired), BUT the About menu still shows?
I then also set the About men’s super to ApplicationMenu - but then BOTH show under the ApplicationMenu
I simply need JUST the About This Software to display.
As you can see from the screenshot - I ONLY have the Application menu and my About menu
The About menu contains a menu item called About This Software.
I have no menu item Eli ???
And I can see no toggle switch for a menu’s visibility ??
That’s odd. Try creating a new menu, it doesn’t (or shouldn’t) have to be ApplicationMenuItem, just a MenuItem. Can you see the toggle in the new menu? Then just drag the “About This Software” menu item under that new menu.
In Xojo 2013r2, create a new Desktop project called “HelpAboutMenu”.
In the Project “CONTENTS” click on the “MainMenuBar”
In the menu “Toolbar” click on the “Apple” icon.
Click on the “Toolbar” icon that has “Tooltip” text = “Create a new menu in this menu bar.”. An “Untitled” menu should appear in the menu bar. Give it the Name = Help and Text = Help.
Click on the new menu item “Help”.
Click on the “Toolbar” icon that has “Tooltip” text = “Create a new item in this menu.”. An “Untitled” item will appear under the Help menu. Name this item as required.