unlock menus

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
unlock menus
Summary

Sets the lockMenus property to false, so the menu bar is updated when the menus are changed.

Introduced1.0
OSmac, windows, linux
Platformsdesktop
Example
unlock menus
if the lockScreen is false then unlock menus
RelatedProperty: lockMenus
Command: lock menus
Function: menus
Glossary: property, undo, menu bar, command
Description

Use the unlock menus command to show changes in the menu bar to the user.

The unlock menus command sets the lockMenus property to false.

When all pending handlers are finished executing, the lockMenus property is set to false, undoing the lock menus command's action. Any changes made to the menus become visible to the user.

Tagsmenus