Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
ProgressDialog.SetPositionCentered
Component: ProgressDialog
Version: 2.4
Mac OS X: Works
Windows: Works
MBS( "ProgressDialog.SetPositionCentered"; X; Y )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| X | Optional, Relative x coordinate. | 0 |
| Y | 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 )
Feedback: Report problem or ask question.
Links
MBS Real Studio PDF Plugins - Nachhilfe in Kretz