|
----- Message from smith5646midrange@xxxxxxxxx on Wed, 8 May 2019the
13:39:11 -0400 -----
To:
"'RPG programming on the IBM i \(AS/400 and iSeries\)'" <rpg400-
l@xxxxxxxxxxxxxxxxxx>
Subject:
Trying to position cursor on complicated screen
I have a very complicated screen and I am having problems positioning
cursor. There are no modifiable fields. It is display only andfunction
keys allow for editing via a different screenwritten
Here is a brief layout.
Record1 - lines 1 - 4
Window subfile1 - lines 5 - 12
Window - lines 13 - 17
Window subfile2 - lines 18 - 25
Subfile - lines 26-27 (contains system error messages)
All of the records are OVERLAY without erasing.
I write the records in this order
Subfile
Record1
Window subfile1
Window
Window subfile2
Any other sequence seems to wipe out one or more of the previously
records.of
Because the window subfile 2 is the last record written (exfmt) , all
the records written are displayed correctly but the cursor positions tothe
first subfile record inside of it which looks strange. I would like totried
position it to the top left or right corner, I don't care which. I
using CURSOR but it positions within the window, not the entire screen.to
If I could write record1 last, I could solve the problem but that seems
clear the records below it. Is there something that I might have wrongon
that record causing it to erase the window records?to
Is there something else that I am missing? I really don't want to have
create fake subfiles (2 sets of fields) and programmatically make itlook
like the fields are rolling with the page up / page down.
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.