Re: PERFORM "tab" moves?
Posted in 1995
Jim Kistler (kistler@an.hp.com) wrote: : Using PERFORM, does anyone have an answer to moving around a : FORM with the "tab" key rather than "arrow" keys? : I have database users who "screw up" their screens when they try : to "shift-tab" backward through the fields of a form as they might : expect to do successfully with other software packages. An untried suggestion: If you can modify the terminals so that shift-tab sends out the same signal as up-arrow, you might have something. Or ... maybe modifying TERMCAP so that it thinks the shift-tab signal is an up arrow (ku=whatever (?)) might do the trick. And ... even *with* 4GL, you need to make sure that shift-tab is sending out a signal different than plain-ole-tab, which in my experience means you have a 50-50 chance. And even then the coding is something of a chore: # the signal sent by shift_tab has be defined as # function key F31 (kU) in $TERMCAP INPUT .... ON KEY (F31) NEXT FIELD PREVIOUS Will work in most cases, although if you have a lot of tricky intra-field dependacies (like don't go into field b unless field a is filled in), the code gets thicker. Does it sound like I've had to do this before? "Yesssss, I have!" ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Principal Consultant -------------------- are mine, and do not Informix Software Inc Voice: 303-850-0210 necessarily reflect Denver Colorado USA Fax: 303-779-4025 those of my employer. : This must have been discussed (or "cussed") long before my time, : but I would appreciate any comments others might have on the : subject. : Thanks, : Jim (yes, I know it's time to look at 4gl) Kistler : -- :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :# ####### ## ## Jim Kistler : ## ## kistler@hp-and.an.hp.com : ## ## Hewlett-Packard Co. :##### #### Imaging Systems :# ## ## 3000 Minuteman Road : ## ## Andover, MA 01810 : ## ## TEL: 508-659-2251 :~~~~~~~~~~~~~~~~~~~~FAX: 508-687-7265~~~~~~~~~~