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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
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 |
Flags | 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")
Move next dialog:
Set Variable [ $x ; Value: 500 ]
Set Variable [ $y ; Value: 200 ]
Set Variable [ $r ; Value: MBS("Window.PositionNextDialog"; $x; $y; “”; “”) ]
Show Custom Dialog [ "Test" ; "Hello World" ]
Control where progress dialog will show:
# define where the progress dialog should show.
# We can leave width and height empty to not change it
# move it to bottom of screen.
Set Variable [ $r ; Value: MBS("Window.PositionNextDialog"; 10; Get(ScreenHeight) - 270; ""; "") ]
# run the request
Insert from URL [ Select ; With dialog: Off ; Target: Test::Result ; $URL ; Do not automatically encode URL ]
# clear it
Set Variable [ $r ; Value: MBS("Window.PositionNextDialog") ]
This function checks for a license.
Created 27th December 2019, last changed 16th December 2022