Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_ypress()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_YPRESS()


Syntax:        L_YPRESS(<expN>)


Purpose:       To determine the mouse cursor position on the vertical
               axis at the last key-press of the specified button.


Arguments:     <expN> is the button of interest.
               0 = Left button
               1 = Right button
               2 = Centre button ( if 3 button mouse )


Returns:       An integer value of the vertical position of the mouse
               cursor.
               -1 = Syntax Error


Usage:         Useful to determine if the specified button was pressed
               on a particular row of screen.

               Useful in conjunction with L_XPRESS()


Examples:      * Where on the vertical axis was the mouse
               * when left button was last pressed ?
               left = 0
               horz = L_YPRESS(left)


Language:      Assembler

See Also: L_PRESSES() L_YPRESS() L_RELEASES() L_YRELEASE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson