FW: Detecting Special Keys (@sk)

George Simon george at worldest.com
Wed Sep 8 13:10:00 PDT 2004


-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of John Hemmer
Sent: Wednesday, September 08, 2004 12:17 PM
To: filePro mailing list
Subject: Detecting Special Keys (@sk)

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.

Is ther any way to detect these while in a field?  If not it would be very
high on
my wish list.

John

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list

Yes, there is a way but it is sort of a pain in the neck.
It involves the use of waitkey in @wef processing.
If you have access to old copies of the filePro Cookbook, there is an
article that I wrote in one of them (John?) called "@wel - When Entering
Limbo".  It gives you a detailed explanation of detecting just about any key
(except the "end" key) from within @wef processing.  I use this quite a bit.
It is very powerful.

George Simon (IT Department)
American River Logistics, LTD
614 Progress St.
Elizabeth, NJ  07205
Phone:(908)354-7746      Fax:(908)354-7491
mailto:george at worldest.com
http://www.americanriverintl.com/





More information about the Filepro-list mailing list