Trapping @keyB processing

Jeff Harrison jeffaharrison at yahoo.com
Fri Oct 28 08:39:18 PDT 2005


--- John Esak <john at valar.com> wrote:

> > > @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
> 
> I think it would help if Jeff had tested his
> suggestion before suggesting
> it. It only took me 3 seconds to write this...
> 
> 
>      then:      end
> @keyB  if:
>      then: pushkey "B";  end
> 
> to show that this would cause an infinite loop. Do
> NOT do this.
> 
> If you want to accomplish either using the browse or
> not and still actually
> use the B key, you would have to intercept it and do
> a pushkey of the exact
> keystrokes it would take to turn on the browse at
> the clerk menu, then
> continue on pushing the right keys to get to the
> index you wanted (if that
> is the way you wanted to enter the records...)  Or,
> have the browse on
> already and do something opposite to this.
> 
> Setting a global variable as you mentioned would
> direct whether they would
> get your special B processing instead of the IUA
> browse.
> 
> 

John, once again you mis-understood, and once again
you seem to be attacking me for no reason.  

I NEVER SAID TO USE @KEYB!

In fact I said to make sure he removed the @keyb.

Where do you come up with this stuff?

Also, it is perfectly fine to do a pushkey "B" when at
the enter selection prompt.  It will give you the
normal filepro browse which is what J. Ryan was
looking for I believe.

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