Startup Position – Form Property (Magic xpa 3.x)
Enables you to define the mode by which the form will open:
|
|
Customized
|
The window opens in the location defined by the X and Y properties of the form. The size of the form is defined by the Width and Height properties.
|
OS Default Bounds
|
The window opens with the default location and size given by the operating system. The X, Y, Width, and Height properties are ignored.
When the Startup Position form property is set to Default, the form size in Online and Rich Client is different.
|
Centered to Parent
|
The window opens centered within the parent window. The X and Y properties are ignored. The size of the form is defined by the Width and Height properties.
|
Centered to MDI
|
The window opens centered within the Magic xpa client area. The X and Y properties are ignored. The size of the form is defined by the Width and Height properties. (Since version: Rich Client support: 1.9)
|
Centered to Desktop
|
The window opens centered within the desktop area. The X and Y properties are ignored. The size of the form is by the Width and Height properties.
|
OS Default Location
|
The form is positioned at the operating system's default location and has the dimensions specified in the form’s size.
Since version: 2.1
|
Note:
|
If the parent task does not have an opened form, the next ancestor form is regarded as the parent form. If the opened form does not have a form from an ancestor task, the Magic xpa client area is regarded as the parent form, which will produce the same result as the Centered to MDI option.
|
In the Startup Position property, if you select the Centered to MDI or Centered to Parent options with an SDI window, the property will behave as if the user selected the Centered to Desktop property. This happens because the Centered to MDI or Centered to Parent options are irrelevant with an SDI window, since an SDI window is external to the Magic xpa MDI.
On Android and iOS devices, for popup forms (iOS Since version: 2.3, Android Since version: 2.5):
-
The Customized value will open the popup window in the location defined by the X and Y properties of the form.
-
The Centered to... and OS Default... values will open the popup window as centered on the device.
On Windows 10 Mobile devices, for popup forms: