Name: unlock menus

Type: command

Syntax: unlock menus

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

Introduced: 1.0

OS: mac,windows,linux

Platforms: desktop,web

Example:
unlock menus

Example:
if the lockScreen is false then unlock menus

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 true.

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

References: lockMenus (property), lock menus (command), menus (function), property (glossary), undo (glossary), menu bar (glossary), command (glossary)

Tags: menus
