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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
Statistic
FMM
Blog
Window.PositionNextDialog
Sets location for next dialog.
Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
Window | 10.0 | Yes | Yes | No | No | No |
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
X | The X position in points to use for the dialog. Can be empty. |
300 | |
Y | The Y position in points to use for the dialog. Can be empty. |
200 | |
Width | The width in points to use for the dialog. Can be empty. We check against min/max size for dialog. |
500 | Optional |
Height | The height in points to use for the dialog. Can be empty. We check against min/max size for dialog. |
400 | Optional |
Center | Whether to center dialog. Pass 1 to center on screen or 0 to not center. Pass 2 to center in front of the frontmost FileMaker document window. |
1 | Optional |
Result
Returns OK or error.
Description
Sets location for next dialog.MBS Plugin watches for new windows to show and resize/move the next dialog.
The dialog may briefly show before we can move it.
There is the possibility you position a dialog outside visible screen area, so please check screen size yourself.
To clear the settings, you can call function without parameters or with empty values.
Examples
Shows dialog at specific location:
Set Variable [ $r ; Value: MBS("Window.PositionNextDialog"; 300; 300; 500; 400) ]
Show Custom Dialog [ "Test" ; "Hello World" ]
Center next dialog:
Set Variable [ $r ; Value: MBS("Window.PositionNextDialog"; ""; ""; ""; ""; 1) ]
Show Custom Dialog [ "Test" ; "Hello World" ]
Clear settings:
MBS("Window.PositionNextDialog")
Blog Entries
- Neues MBS FileMaker Plugin 10.0
- MBS FileMaker Plugin 10.0 - More than 6000 Functions In One Plugin
- MBS FileMaker Plugin, version 10.0pr5
- Position and resize FileMaker's dialogs
Release notes
- Version 10.0
- Added Window.PositionNextDialog function.
Created 27th December 2019, last changed 29th December 2019
Window.Move - Window.RemoveMenu
Feedback: Report problem or ask question.

Links
MBS Xojo Plugins