|
Ron, Is there a specific reason why the screen field is a 30-character entry, and not, say, 50 or 80? If the text is _always_ going to be displayed in a 30-character columns, go with the WRDWRAP and don't fret about the extra white space in the field. 32,000?!? So, if this field has 30000 characters typed in, you need to have the ability to insert one character at the beginning of the field and shift all the existing text over by one? I dunno, but if you ask me, I think you'd need to go GUI (think VA-RPG or some-such) to handle this one without forcing a kludge on the users. FWIW, this is what I did several years ago for a client who had a need to enter free-form comments. I defined a variable-length 1200-byte field, defined it without WRDWRAP for the entry. Starting at column 1, line 6, the field took 15 lines on the display. I gave them a function key that would display another screen that displayed the 1200-byte field output-only and used the BLKFOLD keyword so they could see what it would look like when it got printed by another function. I think I also defined a few control codes to force new line, indent, etc., so it was a little more involved than a simple re-display. Too bad there's no subfile function to handle this. - Dan Bale -----Original Message----- From: Klein Ron [mailto:ron.klein@brctsg.com] Sent: Monday, February 07, 2000 11:46 AM To: 'MIDRANGE-L (E-mail) Subject: RE :RE: Text editiing Martin, The CNTFLD keyword does do the job because it will allow half the word to remain on the first line and not move it at the blank break. BLKFLD would probably work but it is not input capable, WRDWRAP functions the way we want, but it will not allow for the sizing of the repeating field length on each line. It jsut comes out as one big long field running until the end of the screen and then it continues until the end of the next screen line. And yes we do hav a max length (32,000). Ron +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.