SP_CTRLW

CTRLW()

  Short:
  ------
  CTRLW() Sends chr(23) (Control-W) to the keyboard

  Returns:
  --------
  Nothing

  Syntax:
  -------
  SET KEY XXX to CTRLW

  Description:
  ------------
  Allows remapping a key to Ctrl-W - a common Clipper
  EXIT key. CTRL-W is not a really intuitive key, but is often
  required by Clipper. I'll often set F10 to act as Ctrl-W.

  Examples:
  ---------
   EXTERNAL CTRLW

   SET KEY 27 to CTRLW  // remaps ESCAPE to CTRL-W
   also
   SETKEY(K_F10,{||ctrlw()})

  Notes:
  -------
  Declare as EXTERNAL i.e. EXTERNAL CTRLW

  Source:
  -------
  S_CTRLW.PRG

 

2 responses to “SP_CTRLW

  1. Pingback: SP Keyboard Functions | Viva Clipper !

  2. Pingback: SP Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.