showMdiFloatMenu

Type: Boolean

Availability: Read or write at any time

The showMdiFloatMenu property of the Form class specifies whether the Float 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 is false, which means that the popup menu is not displayed by right‑clicking the MDI child caption. When this property is set to true, selecting the Float command floats the current MDI child form that has the allowClose property set to true; that is, it takes the MDI child form out of the MDI frame and allows it to be moved independently from the MDI frame (for example, on to another monitor on the PC). The floated MDI child form is made a window’s child of the frame and will then always be above the MDI frame in z‑order.

The Float command is disabled if the MDI child form is currently floating.

The showMdiFloatMenu 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 showMdiFloatMenu, showMdiCloseAllButPinnedMenu, showMdiCloseAllButThisMenu, showMdiCloseMenu, showMdiDockMenu, and showMdiPinMenu properties are set to false (the default).

2020.0.01 and higher