showMdiDockMenu

Type: Boolean

Availability: Read or write at any time

The showMdiDockMenu property of the Form class specifies whether the Dock command is displayed in the popup (context) menu when a user right‑clicks on the caption of an MDI child form or the tab associated with the form if the value of the Application class mdiStyle property is MdiStyle_Mdi_With_Tabs (1) or MdiStyle_Tabs_Only (2). The default value of this property is false.

The Dock command is disabled if the MDI child form is already docked in the MDI frame.

The showMdiDockMenu property is ignored if the form is not an MDI child form or the allowClose property is set to false.

Right‑clicking the MDI child form caption does not display a menu if all of the showMdiDockMenu, showMdiCloseAllButPinnedMenu, showMdiCloseAllButThisMenu, showMdiCloseMenu, showMdiFloatMenu, and showMdiPinMenu properties are set to false.

2020.0.01 and higher