Get(WindowTop)
Purpose 
Returns a number representing the vertical distance, in pixels, of the outer edge of the window on which the script is acting (not necessarily the foreground window) relative to the bottom edge of the menu bar.
Format 
Get(WindowTop)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 7.0
Description 
The origin of the reference coordinate system is at the left-most corner below the menu bar. A negative value indicates the portion of the top part of the window that is hidden behind the menu bar.
Note  For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at http://help.filemaker.com.
Examples 
Returns 52 when the outer edge of the active window is 52 pixels from the menu bar.
Returns 0 when the outer edge of the active window just touches the menu bar.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas