GetWindowOrientation
Converts window orientation values ( aspect ratio and title bar position ) into human readable strings
Average rating: 4.0 (1 vote) Log in to vote
Julio Toledo - Show more from this author
Automation USA LLC https://www.automationusa.net |
* Returns "portrait upside down" when orientation = 2
* Returns "square" when orientation = 0
* Returns "landscape right" when orientation = -1
* Returns "landscape left"" when orientation = -2
* Returns "N/A" as default
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Converts window orientation values ( aspect ratio and title bar position ) into human readable strings
* Returns "portrait" when orientation = 1
( window height > window width and title bar is upright )
* Returns "portrait upside down" when orientation = 2
( window height > window width and title bar is inverted )
* Returns "square" when orientation = 0
( aspect ratio is proportional )
* Returns "landscape right" when orientation = -1
( window width > window height and title bar is upright )
* Returns "landscape left"" when orientation = -2
( window width > window height and title bar is inverted )
* Returns "N/A" as default
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.