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_xrelease()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_XRELEASE()


Syntax:        L_XRELEASE(<expN>)


Purpose:       To determine the mouse cursor position on the
               horizontal axis at the last key-release 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 horizontal position of the
               mouse cursor.


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

               Useful in conjunction with L_YRELEASE()


Examples:      * Where on the horizontal axis was the mouse when
               * the right button was last released.
               button = 1
               horz   = L_XRELEASE(button)


Language:      Assembler

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

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