Help

Table Of Contents
FILEMAKER PRO HELP 832
Originated in
FileMaker Pro 13.0
Description
Returns:
-2 for landscape left
-1 for landscape right
0 for square (FileMaker Pro and FileMaker WebDirect only)
1 for portrait
2 for portrait upside down
Examples
If the window that the current script is acting on is in portrait orientation,
Get(WindowOrientation) returns 1.
You have a calculation field named Orientation that uses Get(WindowOrientation) to return a
value as listed above. You have another calculation field that references the Orientation field and
uses the If
function, which returns Portrait if the Orientation field returns a value greater than 0 and
returns Landscape if the Orientation field returns a value less than 0:
If(Orientation > 0;”Portrait”;”Landscape”)
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Get(WindowStyle)
Purpose
Returns the style of the window on which the script is acting.
Format
Get(WindowStyle)
Parameters
None
Data type returned
number