DSPF Long Shot

Steve M <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <LV5PR08MB1084816E1087BEC221D92373E881CA@LV5PR08MB10848.namprd08.prod.outlook.com>
Almost absolutely certain the answer to this is "no", but it's never a final no until this group has their say/input.



DSPF format with a line for a header text.  Field defined as character 80 bytes.  Screen to screen the text in the header will change.  Field attributes are blue and underscore.



On the first screen the actual text is 30 bytes. There is an centering function that is called before loading the text to the screen field so it's right in the middle.



Next screen the actual text is 50 bytes.  (I know you all see where this is going).  Yes, it's centered, as well.



Here's the question:  I don't want the underscores on each side of the actual text (they look like airplane wings) (_________Here is the text_________) – so, is there a way to only underline the actual words/letters?  Maybe I’ve just forgotten something really simple here (always a good chance on that one).



Lots of really smart people follow these pages so hoping for any idea that may “pretty-up” the screen.



As always, thanks to all in advance.



Steve M.






-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact [email protected] for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.