Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfcapslock()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfCapsLock()
Enable the CAPS LOCK key
------------------------------------------------------------------------------
Syntax:

     dfCapsLock( <lLock> ) --> lOldLock

Parameters:

     <lLock>    If .T. activate the CAPS LOCK key

Returns:

     <lOldLock>  Previous setting

Description:

     This function active/deactive the CAPS LOCK key
     
     NB This function may NOT works under Windows NT 4.0

Example:

     * #########################
     FUNCTION Test(  )
     * #########################
     LOCAL lCaps := dfCapsLock()
     
     ? lCaps
     
     INKEY(0)
     
     ? dfCapsLock( .T. )
     
     INKEY(0)
     
     ? dfCapsLock( .F. )
     
     INKEY(0)
     
     ? dfCapsLock(lCaps)
     
     RETURN NIL

See also:

     dfLed()

See Also: dfLed()

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