Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!att!fang!occrsh!abcom!mdb From: mdb@abcom.ATT.COM (3030 ) Newsgroups: comp.databases Subject: Re: dBase: Using the arrow keys Message-ID: <2306@abcom.ATT.COM> Date: 15 Mar 91 15:44:26 GMT References: <9103121653.AA13910@titanic.bostech.com> Organization: AT&T(IMS-DPO), Aurora, Colorado Lines: 30 From article <9103121653.AA13910@titanic.bostech.com>, by traynor@bostech.com (Pat Traynor): > > Hello all -- > > 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 ( [A and [B ) the previous or next menu > item becomes highlighted. > > In an unrelated item, my VGA color monitor supposedly has a palette of > 256,000 colors. Is there any way (in dBase) for me to tap into this, > or am I limited to the primaries? > > --pat traynor-- Pat, Yes, Xbase (dBase and its clones) can accept the arrow key as input. If you are in a get field look for the value returned by the readkey() function. With menuing systems use the inkey() function. As far as I know your stuck with the 16 colors assigned by Xbase. Hope this helps. Mike Barnes 415-224-3030