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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.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

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


ProgressDialog.SetPosition - ProgressDialog.SetProgress

Feedback: Report problem or ask question.