Re: Page Up/Down in 4GL forms?
Posted in 1996
} } Darin Strait wrote: } > } > I have an Informix 4GL (4.0) application that puts form up on the screen } > to let the user pick from a scrolling list that contains over 100 items. } > The user can navigate up and down the list just fine, but it takes a long } > time to use the arrow keys. I'd like to let them use the page up and page } > down keys, and maybe the home and end keys too. I can't find anything by } > RTFMing or looking through the FAQ. Can this be done? } } Are you using INPUT ARRAY or DISPLAY ARRAY? If so then by default the } pageing keys are F3 & F4. If these are not working then check your } termcap file. } } If you want to use the Paging keys on the keyboard then you would have to } assign their return values to function keys in your termcap file. Then } change these keys in 4GL using the OPTIONS command. Make sure that your } terminal emulator caters for these keys. Some 'true' emulations do not! } Actually all you have to do is define kP and kN in termcap and 4gl will use those keys for previous page and next page. For an hp terminal this would be: :kN=\\E[U:kP=\\E[U:\\ cheers j. _____________________________________________________________________________ Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA jparker@boi.hp.com Currently on loan to PLD/PE _____________________________________________________________________________ If anything can go wrong, fix it. To hell with Murphy. _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________