Returns the height, in points, of the window content area.
Get(WindowContentHeight)
None
number
FileMaker Pro 7.0
The content area depends on the current size of the active window but doesn’t include the title bar, scroll bars, and page margins. The content area is the space inside these controls. It does not include the status toolbar if it is currently showing.
•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.
In macOS, returns 400 in when the current window height is 437 and the status toolbar isn’t showing.
In macOS, 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.
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
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