WinYLoc

Description:              This function returns the Y coordinate of the locator (mouse) in a window.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      WinYLoc(Object)

Parameters:             Object     { Object value }  { required }  { no default: }

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

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.

See Also:

WinLocSwitch | WinXLoc | XLoc | YLoc