Card cut off at bottom because of menu

charles61 cszasz at mac.com
Sun May 2 18:20:20 EDT 2010


Jacqueline,

I tried your OS X menu script in my stack:

on preOpenStack
   set the loc of this stack to the screenloc
   set the backgroundcolor of this stack to 255,255,255
   
   if the platform = "MacOS" then --->This sets the menu for Mac without
using the Menu Builder to set Mac menu!!
      set the menubar of this stack to "menugroupname"
      set the defaultmenubar to "menugroupname"
   end if
   
end preOpenStack

I saved it then I closed Rev and my stack. Then I relaunch my stack and got
the following error in the IDE:

executing at 6:01:29 PM
Type	defaultMenuBar: can't find group
Object       S504
Line	set the defaultmenubar to "menugroupname"
Hint	menugroupname

Any ideas why I am getting this error message? I do have anything checked in
the Menu Builder. By the way I am using the Mac version of Rev Enterprise
4.0.
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Card-cut-off-at-bottom-because-of-menu-tp2075550p2123319.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list