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()

11 responses to “SP_RAT_ELBHD

  1. Pingback: SP Mouse Functions | Viva Clipper !

  2. Pingback: SP Event Functions | Viva Clipper !

  3. Pingback: SP Functions | Viva Clipper !

  4. Pingback: SP_RAT_READ | Viva Clipper !

  5. Pingback: SP_RAT_MENU2 | Viva Clipper !

  6. Pingback: SP_RAT_LASTEV | Viva Clipper !

  7. Pingback: SP_RAT_ISMOUSE | Viva Clipper !

  8. Pingback: SP_RAT_EVENT | Viva Clipper !

  9. Pingback: SP_RAT_ERBHD | Viva Clipper !

  10. Pingback: SP_RAT_EQMCOL | Viva Clipper !

  11. Pingback: SP_RAT_EQMROW | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.