Hmm - what am I missing...??
My first attempt at menu building under OS X:
I create a default menu for the current stack and check both "Preview in Menu Bar" & "Set as Menu Bar on OS X". Now I see File, Edit & Help next to the Apple logo and the Revolution menu - so far - so good.
Menu Builder shows me that I should have:
New, Open, Close, a separator bar and Quit under the File menu.
When I click on File on the System caption bar (does it have an official name I don't know yet?) I only see New, Open, Close - basically everything up to the separator but not the separator or anything below.
The same goes for the other two menus: under Edit I am missing Preferences and under Help I don't see About....
Can someone explain?
Also, I gather from the docs that these menus are (can be?) stack specific. What if I just want a menu that's the same throughout my whole application? Where does it go?
TIA
Kai
Menu Builder Puzzle
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
menu handling in rev is very bad and confusing. However this particular confusion comes from the OS, as Mac OS X has special places for these menu items, and thus rev moves them automatically around (they show up under the application menu (which has the name of your application)).
Oh, and surprisingly, the bar that shows the menus is called menubar
Oh, and surprisingly, the bar that shows the menus is called menubar
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Menu Builder Puzzle
Please check the "defaultmenubar" property in the docs, that is what you are looking for in this case.kpeters wrote:Hmm - what am I missing...??
...
Also, I gather from the docs that these menus are (can be?) stack specific. What if I just want a menu that's the same throughout my whole application? Where does it go?
TIA
Kai
You should set it "on pre/openstack" of you mainstack/standalone.
Regards
Klaus