SFLMSG is not meant to be used in this way. The SFLMSG will be displayed
when your program writes the screen. But the message will be cleared by the
system when you interact with the screen. When you press pageup/pagedown
the system has control of the subfile, not your program. Your program gets
control again when you get to the end of the subfile - and then you rewrite
the SFLMSG and you see your function keys.
You should consider reworking your display file formats.
Paul Therrien
paultherrien@xxxxxxxxxxxxxxxxxx
www.andecosoftware.com
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of James Lampert
Sent: Monday, November 05, 2012 7:04 PM
To: RPG programming on the IBM i / System i
Subject: Question for the subfile processing experts
I have a subfile in a window, using SFLLEN > SFLPAG processing
And I have a function key legend, which I've got in an unconditional SFLMSG,
because I couldn't (at least when I was building the formats from which I'm
copying the current project) it was the only way I could put it on the very
last line of the window.
Now, with SFLLEN > SFLPAG processing, I find that this function key legend
comes and goes: it appears whenever I initially open the window, but goes
away when I page up or down, unless I go beyond the available records.
Any advice would be greatly appreciated.
--
JHHL
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.