OnGestureTap

Performs a script when a tap gesture is received on a layout (Windows, iOS, and iPadOS only).

When the script runs 

Before the event has been processed.

Modes in which the trigger can be used 

OnGestureTap can be set up to activate in Browse and Find modes.

Result 

You can use the Exit Script script step within the triggered script to return True or False.

  • True: The event that triggered the script proceeds.
  • False: The event that triggered the script is canceled.

If the triggered script returns no value, the script proceeds and processes the tap normally.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go Yes
FileMaker WebDirect No
FileMaker Server No
FileMaker Cloud No
FileMaker Data API No
Custom Web Publishing No

Originated in version 

13.0

Notes 

  • OnGestureTap will not activate for taps made in active web viewers or active edit boxes.
  • The following gestures activate this script trigger:
    • Tap with one, two, or three fingers (iOS and iPadOS)
    • Double-tap with one finger (iOS and iPadOS)
    • Tap with two fingers (Windows)
  • If you double-tap with one finger, be aware that the trigger will be activated twice: at the first tap and again at the second tap.
  • Windows: On Windows devices that support gestures, a two-finger tap activates OnGestureTap in the active window, even if one finger is outside the layout window but within the FileMaker application window.
  • Windows: If you tap with two fingers, the location of the gesture is the center point between the tapping fingers.
  • Use Get(TriggerGestureInfo) to get information about the gesture that causes this script trigger to activate.