MSGBOX KEYS
Scott Walker
scottw1 at alltel.net
Mon Apr 17 10:46:42 PDT 2006
>
> Quoting Scott Walker (Mon, 17 Apr 2006 12:54:58 -0400):
>
> > Is there a reason that you can't use a "B" as one of the defined
> > keystrokes in a msgbox?
>
> Ken asked:
>
> Who says you can't?
>
>> Scott said:
>
> Here's what seems to happen. After the msgbox I check for
>
> If: @bk eq "BRKY"
> Then: exit
>
> to see if the user has pressed the interrupt key. If the user
> pressed "B" the above test resolves as true and kicks us out.
>
> I can get around this by checking for @bk eq "B" before I test it for
> "BRKY". It was just strange and unexpected.
Ken replied:
Or, better yet, use the correct test of
@SK eq "BRKY"
instead.
Scott said:
I will if you can get that Laura girl to update her on-line help
file which gives this example:
Then: MSGBOX "End program?","Press \r Y \r or \r N
\r","YN"
If: (@BK eq "BRKY") or (@BK eq "N")
Then: end
If: @BK eq "Y"
Then: exit
Also, under the System Maintained Fields section:
4.0 @BK - Exit key of browse lookup, MSGBOX and ERRORBOX
Should be tested for "BRKY" - DEL, as well as
expected responses.
More information about the Filepro-list
mailing list