[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MLastRow()
 Get the ROW() of the last mouse event.
-------------------------------------------------------------------------------

 Syntax:

     MLastRow() --> <nRow>

 Returns:

     MLastRow() returns the row number of the last mouse event.

 Example:

     // some code
     ....
     nKey := InterruptKey( 0 )

     IF nKey == M_LEFT_BUTTON   //the last key was the left mouse button

        nMouseRow := MLastCol() //the mouse was on this row when it happened
        nMouseCol := MLastRow() //and the mouse was on this column.

        // check if the position nMouseRow, nMouseCol is a hot spot
        ....
        ....

     ENDIF



 Files:  Library is CUACLIP.LIB.

See Also: MLastCol() InterruptKey()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson