Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

ProgressDialog.SetPositionCentered

Set position of the dialog centered.

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

Parameters

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

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.




Links
MBS FileMaker tutorial videos