Get(WindowContentWidth)
Purpose
Returns the width, in points, of the window content area.
Format
Get(WindowContentWidth)
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, or page margins. The content area is the space inside these controls.
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 device status bar, menu bar, or toolbar.
Examples
Returns 400 in OS X when the current window width is 415.
The example below combines Get(WindowContentWidth) with Get(WindowWidth) to determine the width of the vertical scroll bar:
Get(WindowWidth) - Get(WindowContentWidth) returns 15 in OS X when the window width is 415.
Related topics