Control whether forms created using CreateObject are opened as MDI child forms or floating forms.
Open Window Normal will open as an MDI Child; Option Window Floating will open as a floating.
The default state is set by the TriggerObject if there is one, otherwise will default to Normal. For Toolbar shortcuts, the TriggerObject is set to the Form the shortcut is on.
To set this for a scripted or custom form, you can check the IsFloatingWindow property and set Option Window based on this, as follows:
If MyForm.IsFloatingWindow Then
Option Window Floating
End If
Syntax
Option Window {Normal | Floating}
Option |
Description |
|
|---|---|---|
|
Opens the window as an MDI child form. |
|
|
Opens the window as a floating form. |
|