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>ksetcaps()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 KSETCAPS()
 Queries/sets the system setting for CAPS LOCK
------------------------------------------------------------------------------
 Syntax

     KSETCAPS([<lNewSwitch>]) --> lOldSwitch

 Argument

     <lNewSwitch>  Designates "CAPS LOCK" as on (.T.) or off (.F.).  The
     default value is the system setting.

 Returns

     KSETCAPS() returns the current setting for CAPS LOCK when no parameter
     is specified; otherwise, it returns the previous setting.

 Description

     KSETCAPS() returns the current system setting for CAPS LOCK.  If the
     <lNewSwitch> is specified, CAPS LOCK is set accordingly.

 Examples

     .  Query the CAPSLOCK function:

        lCaps:= KSETCAPS()

     .  Switch on CAPSLOCK and save the previous status:

        lOldCaps:= KSETCAPS(.T.)


See Also: KSETINS() KSETNUM() KSETSCROLL()

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