Reference > Functions reference > Get functions > Get(WindowContentHeight)
 
Get(WindowContentHeight)
Purpose 
Returns the height, in points, of the window content area.
Format 
Get(WindowContentHeight)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 7.0
Description 
The content area depends on the current size of the active window but doesn’t include the title bar, scroll bars, zoom controls, and page margins. The content area is the space inside these controls. It does not include the status toolbar if it is currently showing.
Notes
In FileMaker WebDirect, the content area includes the menu bar, status toolbar, scroll bars, and footer area.
In FileMaker Go, the content area includes the layout but doesn’t include the status bar, menu bar, or toolbar.
Example 1 
In OS X, returns 400 in when the current window height is 437 and the status toolbar isn’t showing.
Example 2 
In OS X, the example below combines Get(WindowContentHeight) with Get(WindowHeight) to determine the height of the title bar and horizontal scroll bar:
Get(WindowHeight) - Get(WindowContentHeight) returns 37 when the window height is 437 and the status toolbar isn’t showing.
Example 3 
For iPhone 4-inch devices in portrait orientation, the height is 44 points for the menu bar, 44 points for the toolbar, and 20 points for the status bar. The Get(WindowContentHeight) function returns:
460 when toolbar, menu bar, and status bar are showing
548 when toolbar and menu bar are hidden but status bar is showing
Example 4 
For iPhone 4-inch devices in landscape orientation, the height is 34 points for the menu bar and 34 points for the toolbar. iPhone devices don’t display the status bar in landscape orientation. The Get(WindowContentHeight) function returns:
252 when both toolbar and menu bar are showing
320 when both toolbar and menu bar are hidden
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas