Get(WindowDesktopHeight)

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.

Категории