IMainMenu.AllowUndock

Syntax

AllowUndock: Boolean;

Description

The AllowUndock property determines whether the user can undock menu during form execution.

Comments

If AllowUndock = True, the user can undock menu from the top part of the form and place it in any part of the screen suitable for him. To unlock the menu, move the mouse pointer to the menu area with the following character: .

Move the cursor in the area of the screen where the menu should be placed keeping mouse button pressed. As a result of this actions, the menu is undocked from the panel and looks like a separate window:

To dock a window from the menu back to the panel, move the cursor to the window title and double-click the mouse. If AllowUndock = False, the possibility to undock menu is locked.

See also:

IMainMenu