Command Reference — View category — Lock Toolbars command

# Lock Toolbars command

## Summary

Locks all toolbars.

## Description

Locks the toolbars if not already locked, or unlocks the toolbars if already locked. When unlocked, toolbars can be moved around by dragging the grip on the left-hand edge of each toolbar. Locked toolbars will not move and do not show the grips on the left-hand edge of each toolbar.

## How to Run

- Default Menu: View > Toolbars > Lock Toolbars

- All Commands: View > Toolbars > Lock Toolbars

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_LOCK_TOOLBARS (4341)

## Macros

## [JavaScript]

    editor.ExecuteCommandByID(4341);

## [VBScript]

    editor.ExecuteCommandByID 4341