Returns the vertical position of the upper-left corner of a window in relation to the upper-left corner of the screen.
: The WinOutYPos
function is equivalent to the Y
// Vertical position of the "WIN_EditCustomer" window in relation to the screen
ResVPos = WinOutYPos(WIN_EditCustomer)
<Result> = WinOutYPos([<Window>])
Returns the vertical position or Y coordinate (in pixels) of the top left corner of the window in relation to the top left corner of the screen.
<Window>: Optional window name
Name or alias of the window to be used. If this parameter is not specified or if it corresponds to an empty string (""), the vertical position of the current window is returned.