defaultMenubar

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the defaultMenubar to <group>
Associationsgroup
Summary

Specifies which menu bar is displayed on Mac OS systems when the active window's menubar property is empty.

Introduced1.0
OSmac
Platformsdesktop, server
Parameters
NameTypeDescription
group

A group reference or an expression that evaluates to a group reference.

Example
set the defaultMenubar to the long ID of group 1 of stack "Menubars"
Values
NameTypeDescription
Value

The defaultMenubar property returns the long ID of the group.

RelatedProperty: editMenus, menubar
Function: menus
Glossary: property, active window, Mac OS, menu bar
Description

Use the defaultMenubar property to change the menus used by stacks that don't have their own custom menu bar.

The defaultMenuBar specifies a group of buttons. Each button in the group becomes a menu in the menu bar.

The setting of the defaultMenubar property has no effect on Unix and Windows systems, except that references to menus are taken as referring to the defaultMenubar if the stack in the active window has no menu bar of its own.

Tagsmenus