Re: Window in 2nd pgm?

cesco via RPG400-L <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <[email protected]>
 Have you tried to put both sizes DSPSIZ(*DS3 *DS4) in the display?you can even condition in the DSPF if you want different positions for according to the screen size.
There is even DSPMOD at the record level, dunno how it interact with a window though...
 

    On Wednesday, August 27, 2025 at 08:17:35 PM GMT+2, Justin Taylor <[email protected]> wrote:  
 
 No luck with the dummy ASSUME record.

One of the guys here noticed that the main *DSPF is 24x80 while the
secondary is 27x132.  As a test, I made them both 27x132 and it worked.

Thanks




On Tue, Aug 26, 2025 at 11:02 AM Mark Waterbury via RPG400-L <
[email protected]> wrote:

> Justin,
>
> You need to add another record format to your DDS for the window, that
> specifies the "ASSUME" keyword.
>
> You do not need to actually display this other record format in your
> program, it just needs to have that ASSUME keyword somewhere in there.
>
> HTH,
> Mark S. Waterbury
>
>
-- 
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.