Get(WindowTop)
Category: Get
Syntax: Get ( WindowTop ) |
Parameters: None
Data type returned: Number
Description:
Returns the vertical distance, in pixels, from the top edge of a window to the inside of the top of the application window.
See Get (WindowDesktopHeight) for a discussion of how the application window is defined for each platform.
If any docked toolbars are placed along the top of the application window, this shifts the location of the inside edge of the application window.
Get (WindowTop) can return negative numbers. This may indicate the window is located on a second monitor positioned above the first, or it may mean that a portion of the top of the window is hidden.
Examples:
Function |
Results |
---|---|
Get (WindowTop) |
Returns 0 when the top edge of a window is positioned flush to the top of the application window. |