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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Add swipe gesture recognizers.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
iOSApp | 13.1 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Directions | Pass directions you like to have. Can be Right, Left, Up and Down. |
"Right, Left" |
Filename | The database file name where the script is located. | "test.fmp12" |
ScriptName | The script name. | "MyScript" |
Returns OK or error.
Install a recognizer:
# Let FileMaker make the layout visible
Pause/Resume Script [ Duration (seconds): 0.1 ]
# and add our recognizers
Set Variable [ $r ; Value: MBS( "iOSApp.AddSwipeGestureRecognizer"; "Right, Down, Up, Left"; Get(FileName); "Recognizer") ]
This function checks for a license.
Created 27th January 2023, last changed 8th September 2023