Author Topic: menu editing doesn't seem to work  (Read 4025 times)

PowerMathDeveloper

  • Guest
menu editing doesn't seem to work
« on: September 08, 2008, 02:27:45 am »
I'm a newbie to CodeBlocks, so please be patient with me.

I went through all of the tutorials, but none of them mention how to edit the menus.

I'm trying to figure out how to manipulate the menubar by adding menuitems & menus.  I couldn't find a button for wxMenuItem, but did find wxMenuBar and wxMenu under the "tools" tab.

The new project wizard (wxWidgets project, using wxSmith, frame based) creates a menubar named MenuBar1 with menus File & Help.

On the resources panel, I select any menu or menuitem, click the wxMenu button under the tools tab and a wxMenu is created at the same level as the menubar, below the wxStatusBar.  I can't figure out how to move the newly created menu into the menubar.

If I click the wxMenuBar button, nothing happens, but thats what I expected since it already has a menubar.

I found this post in the forums:
"Any Tutorials On Creating Menus & Adding Menu Items Via wxSmith Exclusively"
http://forums.codeblocks.org/index.php/topic,8342.0.html

Then you can edit the MenuBar and its Menus and SubMenu and of course the MenuItems.
To create a new Menu (or MenuItem) just click new. With "<" and ">" you can move a Menu or a Menuitem one level higher or deeper.


But I don't see "new", "<" or ">".

Help!


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: menu editing doesn't seem to work
« Reply #1 on: September 08, 2008, 12:40:21 pm »
Double-click the Menubar-symbol in wxSmith and a dialog pops up.

PowerMathDeveloper

  • Guest
Re: menu editing doesn't seem to work
« Reply #2 on: September 09, 2008, 02:56:34 pm »
Thanks, I finally figured it out.  This is not at all intuitive.