ProgressDialog.SetPosition
--------------------------

Set position of the dialog absolute.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ProgressDialog](component_ProgressDialog.md) | [2.4](newinversion24.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "ProgressDialog.SetPosition"; X; Y ) 

**MBS**( **"ProgressDialog.SetPosition";** /\* Set position of the dialog absolute. \*/  
**$X**; /\* Relative x coordinate.e.g. 100 \*/   
**$Y**) /\* Relative y coordinate.e.g. 100 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| X | Relative x coordinate. | 100 |
| Y | Relative y coordinate. | 100 |

### Result

Returns "OK" on success.

### Description

Set position of the dialog absolute.   
With X and Y you can move the dialog relative to the top left corner of the main screen. Use functions like [Screen.Height](ScreenHeight.md) to learn about screen height.  
### See also

- [ProgressDialog.GetPositionX](ProgressDialogGetPositionX.md)
- [ProgressDialog.GetPositionY](ProgressDialogGetPositionY.md)
- [ProgressDialog.GetShowButton](ProgressDialogGetShowButton.md)
- [ProgressDialog.SetFont](ProgressDialogSetFont.md)
- [ProgressDialog.SetPositionCentered](ProgressDialogSetPositionCentered.md)
- [ProgressDialog.SetProgress](ProgressDialogSetProgress.md)
- [ProgressDialog.SetShowButton](ProgressDialogSetShowButton.md)
- [ProgressDialog.SetTitle](ProgressDialogSetTitle.md)
- [ProgressDialog.SetTitleIcon](ProgressDialogSetTitleIcon.md)
- [ProgressDialog.SetTopText](ProgressDialogSetTopText.md)

### Release notes

- **Version 12.0**
    - Added [ProgressDialog.SetPositionWindowCentered](https://www.mbsplugins.eu/ProgressDialogSetPositionWindowCentered.shtml) function.

### Blog Entries

- [MBS Filemaker Plugin, version 2.4pr9](https://www.mbsplugins.de/archive/2011-07-09/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 31st May 2018

  
[ProgressDialog.SetImageWidth](ProgressDialogSetImageWidth.md) - [ProgressDialog.SetPositionCentered](ProgressDialogSetPositionCentered.md)

[HTML Version](ProgressDialogSetPosition.shtml)