Newsgroups: comp.databases
Path: utzoo!utgpu!watserv1!maytag!xenitec!wynnds.xenitec.on.ca!timk
From: timk@wynnds.xenitec.on.ca (Tim Kuehn)
Subject: Re: dBase: Using the arrow keys
Organization: TDK Consulting Services
Date: Wed, 13 Mar 91 03:46:16 GMT
Message-ID: <1991Mar13.034616.514@wynnds.xenitec.on.ca>
References: <9103121653.AA13910@titanic.bostech.com>

In article <9103121653.AA13910@titanic.bostech.com> traynor@bostech.com (Pat Traynor) writes:
>
>Can I program dBase to accept the arrow keys as input?  My objective is
>to have my menu selections highlighted, and if the user presses the up
>or down arrow keys ( <esc>[A  and  <esc>[B ) the previous or next menu
>item becomes highlighted.

Not having worked with dBase for _some_ time (I used Foxbase, FoxPro,
and Clipper), I can't definitively say this - but if dBase (whatever
version you're using) has an inkey() function, then you can use that
to grab arrow keys for deciding what to do next. 

Of course, if you had "@ x,y prompt" and "menu to" commands, you
wouldn't need to worry about these things :-) 

   ------------------------------------------------------------------------ 
   Tim Kuehn			    TDK Consulting Services  (519)-888-0766
   timk@wynnds.xenitec.on.ca  -or-  !{watmath|lsuc}!xenitec!wynnds!timk
   Valpo EE turned loose on unsuspecting world! News at 11!
