Menu Bar Blues

Richard Gaskin ambassador at fourthworld.com
Thu Apr 21 20:32:03 EDT 2005


Varen Swaab wrote:
> I'm making a menu bar for a cross-platform application.
> 
> I can place the menu bar and it shows properly, that's good, but when I 
> check the option to "Set as Menu Bar on Mac OS" all the images and 
> controls on the stack slide up to fill the space where the menu bar was. 
> I'd like the menu bar to show in the normal places in each platform 
> without the window resizing to adjust for each platform (my design calls 
> for this approach).
> 
> This happens even if I uncheck the option to slide down objects when the 
> menu bar is first created.
> 
> How can I have a menu bar on MacOS without all the images and controls 
> sliding up?

The default behavior is for any group assigned as the stack's menuGroup 
to have its contents displayed in the Mac menu bar, and the stack is 
cropped and scrolls up to hide it so the appearance is very much what 
you'd expect to see in a typical Mac app.

To make a Mac app look like a Windows app just clear the menuGroup 
property of the stack (uncheck the checkbox you set labeled "Set as Menu 
Bat on Mac OS").

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list