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 Guide to Clip-4-Win version 3.0 - <b>mouserow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MouseRow()
Return the row position of a mouse click
------------------------------------------------------------------------------

Syntax
MouseRow()   -->   nRow

Arguments
None.

Returns
An integer representing the row co-ordinate of the mouse at
the time of the click (or double click).

Description
This function returns the row position of the mouse cursor at
the time of the click or double click, relative to the window
containing the mouse cursor.  (The position is calculated from
the pixel co-ordinate of the mouse click, using the size of
the window in fixed-font characters.)

Note:  this function should only be called when you have just
retrieved an event indicating a mouse click.

Example
// Put an X where the mouse was clicked
@ MouseRow(), MouseCol()  say  "X"

See Also: GetCaretY() MouseCol() MouseY()

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