Category: Get
Syntax: Get ( WindowDesktopHeight ) |
Parameters: None
Data type returned: Number
Description:
Returns the height, in pixels, of the desktop space.
In Windows, the desktop space is the FileMaker Pro application window. Get (WindowDesktopHeight) measures the total vertical space used by the application window. If the application is maximized, the application window height is the screen height, minus the height of the Start menu (if it's placed on the bottom of the screen).
On Mac OS X, the desktop space includes everything on the screen except the top menu bar and the Dock.
You cannot programmatically set the window desktop height or width, nor on Windows can you tell where the application window has been positioned on the user's monitor.
Examples:
Function |
Results |
---|---|
Get (WindowDesktopHeight) |
Returns 746 in the Mac OS when the current monitor's resolution is set to 1152x768. The menu bar accounts for the other 22 pixels of height, and in this case the Dock is not showing. |
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
Calculation Signatures
Calculation Functions
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Scripting Primer
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information