Re: Help: Need word-wrapping ability in screen arrays
Posted in 1994
lgrieser@crash.cts.com (Liam Grieser) writes: >My Environment: >AT&T 3B2 and HP9000 Unix boxes >Informix Software: >Currently running Online Engine Ver. 4.10.UC1, > SQL Ver. 4.10.UC1, > 4GL Rapid Dev. Ver. 4.10.UC1, > I-Star TCP/IP Ver. 4.10.UC1 >Problem: >I am trying to create a screen that contains two screen arrays with the >ability to word wrap. Unfortunately, each array will only have >five lines showing on the screen, yet can contain 200 lines of >data. I find this unfortunate because the manuals tell me that the word >wrapping ability is allowed only if the whole array can fit on the entire >screen. The best I've come up with is to display the 1st n characters in the actual array, then CALLing a function to open a window to do an INPUT BY NAME on a WORDWRAP field in a BEFORE FIELD control block. This way, as the user scrolls up and down in the array, they can see the start of the long character string, and they can see and input to the long string by moving to the field, thus popping the window. I hope I've described the approach well enough. If requested (this means you, Walt), I'll dig out the code, make it generic, and post it. ============================================================ Dennis J. Pimple Informix Software Inc Senior Consultant Denver Colorado USA dennisp@informix.com Voice:303-850-0210 Fax:303-779-4025