Hi Darryl
You don't say how wide these 5 columns are
If they are greater than 80 columns - then I believe you are SOL, and HAVE to remain on *DS4 - unless you are thinking of a way to toggle the display left and right
AND
Unless someone comes along and proves I don't know what I am talking about
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of dfreinkel
Sent: Monday, February 10, 2020 11:46 AM
To: RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Switching display sizes depending on the screen capabilities *DS3 and *DS4
I am working on a new DSPF after having not written one in 10 years. I have a subfile that is busy with SFLLIN(2) giving me 5 columns for the users to enter into.
Some users have complained that the characters are too small for the screens they have. I am trying to see if I can switch the screen sizes from *DS4 to
*DS3 based on a F-Key selected by the user. I find the screen size setting is defined at the file level.
Can I specify the screen size using a f-key or would I have to have 2 DSPF's, 1 for each screen size?
TIA
Darryl Freinkel
A4G.
Tel: 770.321.8562 Ext 111 | Cell: 678.355.8562
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.