Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem