Detecting Special Keys (@sk)

John Hemmer hemmerjohn at hotmail.com
Thu Sep 9 19:03:45 PDT 2004


----- Original Message ----- 
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "John Hemmer" <hemmerjohn at hotmail.com>
Cc: "filePro mailing list" <filepro-list at lists.celestial.com>
Sent: Wednesday, September 08, 2004 12:26 PM
Subject: Re: Detecting Special Keys (@sk)


> John Hemmer wrote:
> >
> > In clerk, filePro lets us inspect and act on special keys when we leave
a
> > field
> > using @wlf, or if the special keys: DPRT, GRAF, INSL, DELL are enterd,
> > when updating a field via @wuk
> >
> > Besides the 4 special keys triggered by @wuk, there are several special
keys
> > that do not cause us to leave a field, such as LTAB, RTAB, CLEF, etc
that
> > and have not other effect than to put the cursor at the beginning of the
> > current
> > field.
> [...]
>
> The keys you list, LTAB, RTAB, and CLEF all cause the @WLF even to be
> triggered.
>
> -- 

The following table displays key label codes (\Kn) values for "n", @SK
labels, and DOS keys for SHOW codes.

      0
     INSC-
     Ins or F1
     D
     PRTC
     F7

      1
     DELC-
     Del or F2
     E
     DPRT*
     F8

      2
     INSL *
     F3
     F
     CRON
     N/A

      3
     DELL*
     F4
     G
     RVON
     Alt F9

      4
     SAVE-
     ESC
     H
     GRAF*
     F9

      5
     DUPL
     F5
     J
     HELPh
     F10

      6
     UTAB+
     PgUp
     Y
     BRKY
     Break

      7
     DTAB+
     PgDn
     Z
     ENTR+
     Enter

      8
     LTAB +
     Shift tab
     u
     CRUP+
     Up arrow

      9
     RTAB+
     Tab
     d
     CDWN+
     Down arrow

      A
     CLEF+
     Ctrl End
     l
     CLFT+
     Left arrow

      B
     DMAPb
     F6
     r
     CRGT+
     Right arrow

      C
     DRAWr
     Ctrl-L
     h
     HOME+
     Home





I have appended the @sk labels (the 4 character code i.e.  INSC,DELC,etc)
with a code that  indicates how

the key label code is used or can be detected. Those marked with a "-" are
trapped and used internally by

filePro and cannot be detected. Those marked with an "*",  trigger  @wuk
and can be tested within @wuk

processing. A mark of "b",


More information about the Filepro-list mailing list