Re: DSPF Long Shot

x y <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <CAHfwH+7sH-wNokvke-=v3YLV9tqBEDds9ag8_pY8BPEO9vJH-w@mail.gmail.com>
My guess is this: x'26' + %trim(yourtext) + x'22'.  The x'26' (refer to the
handy chart posted elsewhere in this message) turns on underlining and the
x'22' turns off.

On Tue, Sep 23, 2025 at 7:45 PM Steve M <[email protected]>
wrote:

> 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.
>
>
-- 
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.