Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>rinkey2()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    rInkey2()

         Does the same that Inkey() but takes care of mouse and Setkey()

    Syntax:

         rInkey() -> nKey

    Description:

         The same that rInkey() but takes care of Setkey().

    Return:

         Returns the same that inkey() or 1001 if the left button is
         pressed, 1002 if the right button is pressed or 1003 if the central
         button is pressed.

    Example:

         SetKey ( 1001, { || Warning ( "Mouse Left pressed"  } )
         SetKey ( 1002, { || Warning ( "Mouse Right pressed" } )
         SetKey ( 1003, { || Warning ( "Mouse Central pressed" } )
         nKey := rInkey2(0)
         If nKey != 0
           Warning ( "Key pressed" )
         Else
           Warning ( "Nothing" )
         EndIf

See Also: rInkey()

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