Get(WindowHeight)

Category: Get

Syntax: Get ( WindowHeight )

Parameters: None

Data type returned: Number

Description:

Returns the total height, in pixels, of the current window. The current window is usually the active window, but it's also possible for a script to run in a window that isn't the active foreground window.

The window height and width return the outside dimensions of a window. So, if you make a new window and specify a height and width of 300, then the Get (WindowHeight) and Get (WindowWidth) would both return 300.

Be aware that the window height and width are different from the window content height and width, which return the inside dimensions of a window.

Examples:

Function

Results

Get (WindowHeight)

Returns 541 when the window that is being acted upon is 541 pixels tall.







FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net