WinYLoc

(Engine-Level Function)

Description: Returns the Y coordinate of the locator (mouse) in a window.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Graphics,  Locator,  Window
Related to: WinLocSwitch | WinXLoc | XLoc | YLoc | GUITransform
Format: WinYLoc(Object)
Parameters:  
Object   

Required. Any expression that gives the object value of any module instance which is drawn in the window.

Note: This function is disabled when using a GUITransform as a GUIStrectch.

Example:

ZBar(10, 500, 100, WinYLoc(myWin), 14);

This statement draws a yellow bar on the left side of the window whose top follows the movement of the mouse in the window designated by myWin.