doOnOrientationChange ( fmScript )
Triggers a designated FileMaker Script upon device orientation change
Be the first to rate this function Log in to vote
Jonni™ - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Place this function as the calculation in a WebViewer and declare a FileMaker script to run on orientation change on an iPad or iPhone. This function will work on card windows which will not fire onLayoutSizeChange triggers in FileMaker GO.
The function will launch the script with a single word parameter [ "landscape" | "portrait" ] indicating which orientation the device has turned to.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.