Skip to main content

editMenus

Type

property

Summary

Specifies that the menu bar appears at the top of the stack window.

Syntax

set the editMenus of <stack> to {true | false}

Description

Use the editMenus property to get access to the menu bar for editing on Mac OS systems.

On Mac OS systems, the menu bar appears at the top of the screen. On Unix and Windows systems, the menu bar appears at the top of the stack window.

If the editMenus property is set to true, the group specified in the stack's menubar property is displayed at the top of the window, and the stack window is resized to accommodate it. If the editMenus property is set to false, the stack window is scrolled and resized so that the menu bar group does not appear in the window. The vScroll of a stack reports the amount the stack has been scrolled down to accommodate a menu bar.

If the stack's menubar property is empty, the editMenus property has no effect.

Examples

set the editMenus of this stack to true

function: stacks

glossary: property, menu bar, stack window, Mac OS

object: stack

property: defaultMenubar, menubar, vScroll

command: group

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?