Home > Reference > Script triggers reference > OnGestureTap
OnGestureTap Triggers a script to run when a tap gesture is received on a layout (Windows 8 and iOS 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. Originated in FileMaker Pro 13.0 Notes OnGestureTap will not activate for taps made in active web viewers or active edit boxes. The following gestures activate this trigger: • Tap with one, two, or three fingers (iOS) • Double-tap with one finger (iOS) • Tap with two fingers (Windows 8) 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. For Windows 8, 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 trigger to activate. Related topics Setting up script triggers Setting script triggers for layouts Setting script triggers for objects