Trapping @keyB processing
Howard Wolowitz
howiewz at beonthenet.com
Fri Oct 28 08:11:38 PDT 2005
----- Original Message -----
From: "Jeff Harrison" <jeffaharrison at yahoo.com>
To: "J. Ryan Kelley" <ryan.kelley at trinitytransport.com>; "fplist3"
<Filepro-list at lists.celestial.com>
Sent: Friday, October 28, 2005 9:50 AM
Subject: Re: Trapping @keyB processing
> --- "J. Ryan Kelley"
> <ryan.kelley at trinitytransport.com> wrote:
>
>>
>> Good Morning,
>>
>> I'm setting up some custom browses for our system by
>> trapping @KEYB and
>> showing the specially formatted browses. I'm
>> basically doing this
>> through my @menu processing and setting a variable
>> called lkupIndex. If
>> that variable isn't set however, I'd like to show
>> the regular filepro
>> browse that is shown by default when you press 'B'.
>> Is there a way to
>> display the normal filepro browse, and still have
>> @KEYB processing?
>> We're running on FP 5.0.13.
>>
>> Thanks in advance,
>>
>> --
>> J. Ryan Kelley
>>
>>
>
> Did you see the @entsel code that Howie posted a few
> days ago? That should work for you I think. It uses
> @entsel and waitkey to catch all of the keystrokes. I
> would think that you could modifiy this so that if a
> "B" was pressed you would either do a pushkey "B" to
> get the regular browse, or go to your own code for a
> custom browse - depending on your variable.
>
> You would of course then remove your @keyb processing.
>
> Jeff Harrison
> jeffaharrison at yahoo.com
>
> Author of JHExport and JHImport. The easiest and
> fastest ways to generate code for filePro exports and
> imports.
>
Good job Jeff - that's exactly why I use the code in the first place.
Depending on who the user is I either allow the full filePro browse by doing
pushkey "b"; end or I do a restricted browse, showing only certain fields
and only that user's records.
Howie
More information about the Filepro-list
mailing list