Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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