Card cut off at bottom because of menu

J. Landman Gay jacque at hyperactivesw.com
Sun May 2 20:49:15 EDT 2010


charles61 wrote:
> 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

You need to put the real name of your menu group in there.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list