FT_CTRL

FT_CTRL()
 Determine status of the Ctrl key

 Syntax

      FT_CTRL() -> lValue

 Arguments

     None

 Returns

     .T. if Ctrl key is pressed, .F. if otherwise.

 Description

     This function is useful for times you need to know whether or not
     the Ctrl key is pressed, such as during a MemoEdit().

 Examples

     IF FT_CTRL()
        @24, 0 say "Ctrl"
     ELSE
        @24, 0 say "    "
     ENDIF

 Source: CTRL.C

 Author: Ted Means

See Also: FT_CAPLOCK() FT_NUMLOCK() FT_PRTSCR() FT_SHIFT() FT_ALT()

 

FT_CAPLOCK

FT_CAPLOCK()
 Determine and optionally change the status of CapLock key

 Syntax

      FT_CAPLOCK([ <lNewSetting> ]) -> lCurrentSetting

 Arguments

     <lNewSetting> is optional and if supplied is the new setting
     for the CapLock key.  Specify .T. to turn CapLock on, or .F. to
     turn it off.

 Returns

     .T. if CapLock is set, .F. if it isn't set.  The value returned
      represents the setting in effect prior to any changes that might
      by made by <lNewSetting>.

 Description

     This function is useful if you need to know or set the status of the
     CapLock key for some reason.

 Examples

     IF FT_CAPLOCK()
        Qout( "CapLock is active" )
     ENDIF

 Source: CAPLOCK.C

 Author: Ted Means

See Also: FT_ALT() FT_CTRL() FT_NUMLOCK() FT_PRTSCR() FT_SHIFT()

 

FT_ALT

FT_ALT()
 Determine status of the Alt key

 Syntax

      FT_ALT() -> lValue

 Arguments

     None

 Returns

     .T. if Alt key is pressed, .F. if otherwise.

 Description

     This function is useful for times you need to know whether or not the
     Alt key is pressed, such as during a MemoEdit().

 Examples

     IF FT_ALT()
        @24, 0 say "Alt"
     ELSE
        @24, 0 say "   "
     ENDIF

 Source: ALT.C

 Author: Ted Means

See Also: FT_CAPLOCK() FT_CTRL() FT_NUMLOCK() FT_PRTSCR() FT_SHIFT()