Trapping @keyB processing

Jeff Harrison jeffaharrison at yahoo.com
Fri Oct 28 06:50:42 PDT 2005


--- "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.



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Filepro-list mailing list