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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets location for next dialog.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 10.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
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 |
Returns OK or error.
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")
Created 27th December 2019, last changed 29th December 2019
Window.Move - Window.RemoveMenu
Feedback: Report problem or ask question.