Trapping @keyB processing
Kenneth Brody
kenbrody at bestweb.net
Fri Oct 28 08:25:48 PDT 2005
Quoting Howard Wolowitz (Fri, 28 Oct 2005 11:11:38 -0400):
> From: "Jeff Harrison" <jeffaharrison at yahoo.com>
[...]
> > 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.
[...]
>
> 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.
And it's a bit more elegant than the pushkey/chain trick you showed at
one of the filePro conferences.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list