Fw: Break key in IUA

Howard Wolowitz howiewz at beonthenet.com
Tue Oct 25 17:47:02 PDT 2005


From: "Howard Wolowitz" <howiewz at aljex.com>
To: "GCC" <gccconsulting at comcast.net>; "filePro List" 
<filepro-list at seaslug.org>
Sent: Tuesday, October 25, 2005 8:33 PM
Subject: Break key in IUA


Assuming you mean while the user is updating the record:

Detecting the Break key during IUA can be done with a little effort.

 @update
 @keyu
            Then   popup("1","1") - screenname;   clearp
            If        @sk="BRKY"
            Then    goto brkrtn        'do something to handle the break
            If
            Then    goto top         'top being line 1 of your input
 processing table


If you mean while waiting for the "Enter Selection >" response it too is 
possible.

@entsel

huh       show 'the keys you will allow the user to press
            cls ("21","1")
            show("22","26") "Enter Selection  > "
             a=waitkey

            If  a ne ""        'you can also test a for only keys you want 
the user to access
            pushkey a;     end

            if         @sk="brky"
            Then    do you thing

            if         @sk ne ""
            Then   pushkey "[" & @sk & "]";     end

            goto huh

 Howie



More information about the Filepro-list mailing list