Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>kbddisable()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KBDDISABLE()
 Locks/unlocks the keyboard
------------------------------------------------------------------------------
 Syntax

     KBDDISABLE(<lSwitch>) --> cNull

 Argument

     <lSwitch>  Designates whether the keyboard is switched on (.T.) or
     off (.F.).

 Returns

     KBDDISABLE() always returns a null string.

 Description

     With the help of this function, the keyboard can be turned on or off.
     This allows you to prevent any user input for a specific time through
     program control (even Ctrl-Alt-Del).

 Note

     .  Be sure the program reenables the keyboard and does not leave
        it locked when the program terminates.

 Example

     Switch off the keyboard for 5 seconds:

     KBDDISABLE(.F.)        // Turn off keyboard
        INKEY(5)            // Can't be shortened by input!
     KBDDISABLE(.T.)        // Turn on keyboard


See Also: KBDTYPE() KBDSTAT() KBDSPEED() DSETKBIOS()

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