lock menus | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Sets the lockMenus property to true, preventing the menu bar from being updated when the controls for the menu bar are changed. |
Introduced | 1.0 |
OS | mac, windows, linux |
Platforms | desktop, server |
Example |
|
Related | Property: lockMenus Command: unlock menus, lock screen Function: menus Glossary: property, command, menu bar, control |
Description | Use the lock menus command to hide changes in the menu bar from the user. The lock menus command sets the lockMenus property to true. When all pending handlers are finished executing, the lockMenus property is set back to false, undoing the lock menus command's action. Any changes made to the menus become visible to the user. |
Tags | menus |