SP Mouse Functions

 RAT_ELBHD()    Determines if left mouse button is held down
 RAT_EQMCOL()   Returns mouse column at last press
 RAT_EQMROW()   Returns mouse row at last press
 RAT_ERBHD()    Determines if right mouse button is held down
 RAT_EVENT()    Event handler - inkey() with mouse awareness
 RAT_ISMOUSE()  Determines mouse usage by RAT_EVENT()
 RAT_LASTEV()   Returns the last event recorded by RAT_EVENT()
 RAT_MENU2()    Mouseable MENU TO emulation
 RAT_READ()     Mouseable read
 RAT_AREA()     Limits the mouse to a rectangular area of the screen
 RAT_COL()      Current mouse column
 RAT_COLL()     Returns mouse column at the last left button press
 RAT_COLR()     Returns mouse column at the last right button press
 RAT_EXIST()    Determines if a mouse is available
 RAT_FORCE()    This forces a mouse present status, regardless
 RAT_LBHD()     Determines if the mouse left button is currently depressed
 RAT_LEFTB()    Determines if the left mouse button has been pressed
 RAT_NOMOUSE()  This forces a no mouse status, regardless
 RAT_OFF()      Sets the mouse cursor off
 RAT_ON()       Sets the mouse cursor on
 RAT_POSIT()    Positions the mouse cursor at row,column
 RAT_RBHD()     Determines if the mouse right button is currently depressed
 RAT_RESET()    Resets the mouse to its default values
 RAT_RIGHTB()   Determines if the right mouse button has been pressed
 RAT_ROW()      Current mouse row
 RAT_ROWL()     Returns mouse row at the last left button press
 RAT_ROWR()     Returns mouse row at the last right button press

SP Event Functions

 RAT_EVENT()    Event handler - inkey() with mouse awareness
 RAT_ERBHD()    Determines if right mouse button is held down
 RAT_ISMOUSE()  Determines mouse usage by RAT_EVENT()
 RAT_ELBHD()    Determines if left mouse button is held down
 RAT_EQMCOL()   Returns mouse column at last press
 RAT_EQMROW()   Returns mouse row at last press
 IFMOUSEHD()    Checks if mouse held down,evals codeblock while it is
 ISMOUSEAT()    Checks for mouse click within passed coordinates
 MBRZCLICK()    Checks for mouse click on current Tbrowse row/col
 MBRZMOVE()     Checks for mouse click at and moves to Tbrowse row/col
 MOUSEHOTAT()   Checks for mouse click from array of hot coordinates
 RAT_LASTEV()   Returns the last event recorded by RAT_EVENT()
 R_ISRATREAD()  Determines if RAT_READ() is current get system

 

SP_RAT_ISMOUSE

RAT_ISMOUSE()

  Short:
  ------
  RAT_ISMOUSE() Determines mouse usage by RAT_EVENT()

  Returns:
  --------
  <lIsMouse> => is there a mouse

  Syntax:
  -------
  RAT_ISMOUSE([lIsMouse])

  Description:
  ------------
  Determines mouse usage by RAT_EVENT(). Default is
  determined by a call to the ASM function RAT_EXIST(). However,
  you may want to shut down mouse usage even if a mouse is
  present. If so, call this function with False, to override.

  [lIsMouse]  S_MOOSE.PRG contains a static variable
  called 'lIsMouse'. This is determined initially by a call to
  RAT_EXIST(), but may be overridden by calling RAT_ISMOUSE(.f.).

  Examples:
  ---------
   RAT_ISMOUSE(.f.).

  Source:
  -------
  S_MOOSE.PRG

See Also : RAT_ELBHD(), RAT_EQMCOL(), RAT_EQMROW(), RAT_ERBHD(), RAT_EVENT(), 
           RAT_LASTEV(), RAT_MENU2(), RAT_READ()