Just FYI.
You can create a separate record format for the Command Keys text and just
associate it with your window format.
WINDOW(LBLW5C)
You have to make sure your window is large enough to include the command
line record format - otherwise it won't compile.
I like to create a window format and then create the separate record formats
for the SFLCTL and SFL that then reference the window format.
You can then do the same thing with any record format after that.
A window is no different from other formats except you have to ensure your
formats fit within the window.
Paul
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dfreinkel
Sent: Thursday, July 2, 2020 11:59 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Can one add a function key line to a WDWSFL window?
Alan and others, thanks.
It seems that you cannot specify WDWTITLE twice. The second replaces the
first one. So now I have the F-key line but not the heading. That's okay.
I'll do that as a regular constant.
Darryl Freinkel
A4G.
Tel: 770.321.8562 Ext 111 | Cell: 678.355.8562
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Alan Shore
via RPG400-L
Sent: Thursday, July 2, 2020 11:44 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Alan Shore <ashore@xxxxxxxx>
Subject: RE: [EXTERNAL] Can one add a function key line to a WDWSFL window?
Comparing to what I sent
*BOTTOM is not encased in its own parenthesis
A WINDOW(*DFT 10 55)
A WDWTITLE((*TEXT 'Please enter e-mai-
A l') (*COLOR WHT) (*DSPATR HI +
A UL))
A WDWTITLE((*TEXT 'F12=PREVIOUS') *BO-
A TTOM)
A*
A CF12(12)
--
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@xxxxxxxxxxxxxxxxxxxx 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.