SP_RAT_ERBHD

RAT_ERBHD()

  Short:
  ------
  RAT_ERBHD() Determines if right mouse button is held down

  Returns:
  --------
  <lHeldDown> => is RMB held down

  Syntax:
  -------
  RAT_ERBHD([nSeconds])

  Description:
  ------------
  Determines if right mouse button is held down by
  calling the ASM function RAT_RBHD() for [nSeconds]. Default for
  [nSeconds] is .1 seconds. If the right mouse button is held down
  during that time frame, True is returned, else False is returned.

  [nSeconds]   is optional seconds to test for. Default
  is .1 seconds.

  This is different from the .ASM function RAT_RBHD().
  RAT_ERBHD(<n>) watches the mouse for <n> seconds, and if the
  mouse remains depressed for the full time, then it is considered
  to be HELD DOWN.  RAT_RBHD() on the other hand, only checks for
  the mouse button being depressed RIGHT NOW. RAT_ERBHD() calls
  RAT_RBHD() repetitively.

  Examples:
  ---------
   if rat_erbhd()

     ?"While you were out:"

     ?"Right button was depressed and held down at"

     ??rat_eqmrow(),rat_eqmcol()

   endif

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

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

SP_RAT_ELBHD

RAT_ELBHD()

  Short:
  ------
  RAT_ELBHD() Determines if left mouse button is held down

  Returns:
  --------
  <lHeldDown> => is LMB held down

  Syntax:
  -------
  RAT_ELBHD([nSeconds])

  Description:
  ------------
  Determines if left mouse button is held down by
  calling the ASM function RAT_LBHD() for [nSeconds]. Default is .1
  seconds.

  If the left mouse button is held down during that
  time frame, True is returned, else False is returned.

  Note: the ASM function RAT_LBHD() returns a logical
  value if the left mouse button is depressed RIGHT NOW, but
  does not take a duration of [nSeconds] into account, which is needed
  to determine if it is depressed and HELD DOWN.

  [nSeconds]  is optional seconds to test for. Default
  is .1 seconds.

  Examples:
  ---------
   if rat_elbhd()

     ?"While you were out:"

     ?"Left button was depressed and held down at"

     ??rat_eqmrow(),rat_eqmcol()

   endif

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

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