I have an issue with a window clearing the display

old oe system calls window1

window1 requests fax info
calls window2 to find customer fax numbers
returns to window1 with lr on
calls window3 to display error message
when window3 displays, it first clears the display

if I return from window3 and call another window program the display is
still cleared.

the background will not return until window1 is redisplayed

if window2 does not turn on LR, everything works just fine.

all of the display files have records with assume and keep keywords in
them.

all the record formats displayed use the overlay keyword.

I tested this in a number of different ways and it seems to be a universal
truth.

Is this normal behavior? Is there a way to make this work with LR on?

typical beginning of a screen member

R NOCLEAR TEXT('Prevent Initial Clear')
ASSUME
OVERLAY
1 2'X'
R NOERASE TEXT('Prevent Screen Erase')
KEEP
R SCR1
WINDOW(3 4 20 72)
OVERLAY
RTNCSRLOC(&XXRCD &XXFLD )
MOUBTN(*ULD
CF24)

Jim Horn

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.