Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ProgressDialog.SetPositionCentered

Set position of the dialog centered.

Component Version macOS Windows Linux Server iOS SDK
ProgressDialog 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ProgressDialog.SetPositionCentered" { ; X; Y } )   More

Parameters

Parameter Description Example Flags
X Optional, Relative x coordinate. 0 Optional
Y Optional, Relative y coordinate. 0 Optional

Result

Returns "OK" on success.

Description

Set position of the dialog centered.
With X and Y you can move the dialog relative to the center of the main screen. Use functions like Screen.Height to learn about screen height.

Examples

Center dialog:

MBS( "ProgressDialog.SetPositionCentered" )

Center dialog a little bit lower on screen:

MBS( "ProgressDialog.SetPositionCentered"; 0; 200 )

See also

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


ProgressDialog.SetPosition - ProgressDialog.SetPositionWindowCentered