Get(WindowLeft)
Category: Get
Syntax: Get ( WindowLeft ) |
Parameters: None
Data type returned: Number
Description:
Returns the horizontal distance, in pixels, from the outer left edge of a window to the left edge of the application window on Windows or screen on Mac OS.
See Get (WindowDesktopHeight) for a discussion of how the application window is defined for each platform.
If any docked toolbars are placed along the left edge of the application window, the position of the origin shifts inward. The Get (WindowLeft) function is relative to the inside edge of the application window, inclusive of docked toolbars.
Get (WindowLeft) can return negative numbers. This may indicate the window is located on a second monitor positioned to the left of the first, or it may mean that a portion of the left side of the window is hidden.
Examples:
Function |
Results |
---|---|
Get (WindowLeft) |
Returns 0 when the left edge of the window being acted upon is flush with the left edge of the application window. |