|
Hello Doug,
not really related to RPG…
Am 09.10.2023 um 18:20 schrieb DEnglander--- via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:
I am rewriting a window pop-up program to allow it to display on either 24x80 or 27x132 based on a parameter passed into the ILERPG program.You can code two location lines per element. See
When the program is called for 24x80 I have the window one size, and when it is called for 27x132, the window is longer on the screen [more rows], but not any wider.
I want to have a message subfile also appear within the pop-up, but have it display on a line within the 24x80 size, but two or 3 lines lower on the 27x132 screen size.
I was thinking of using SFLMSGRCD and passing a program defined field to it to contain the dynamic line number, but that option is not allowed with the SFLMSGRCD keyword.
Has anyone done this? I am thinking the only way to do this is to define two DSPF formats for this pop-up, with the different SFLMSGRCD values, but that seems redundant.
https://www.ibm.com/resources/publications/OutputPubsDetails?PubID=SC41571501
PDF Page 58 "Specifying Valid Screen Sizes".
With some effort you can probably make use of a wider display with conditional overlapping fields. I've not yet tried that, though.
:wq! PoC
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.