Page 1 of 1
Clearing a profoundui screen on put of a second screen
Posted: Tue Jul 13, 2010 3:14 am
by grmarks
In RPG I used a Header record format (with company name, date, program name, etc) with no overlay keyword to clear the screen for each new screen I would "exfmt".
I would "write" this header record then "exfmt" the specific data screen (which had overlay defined).
This worked fine in RPG but is not working in Profoundui.
What I get on the second screen is an overlay of screen 1,screen 2 and the header record formats.
How do I clear the screen for the put of the second screen ?
Re: Clearing a profoundui screen on put of a second screen
Posted: Mon Jul 19, 2010 8:57 am
by David
Overlay processing should work the same way in Profound UI. Are you using the "overlay" property? This property is implemented in a way that should be compatible with the green-screen. If the property is not set on when a format is written, the entire screen will be cleared. If the property is on, the format will then co-exist with others on the screen.
It sounds like maybe overlay is set on for the header format, which is preventing the write from clearing the screen? Is this it?
Re: Clearing a profoundui screen on put of a second screen
Posted: Mon Jul 19, 2010 8:27 pm
by grmarks
That's the point - the overlay attribute is not defined for the header format !
There for I would expect the screen to be cleared (removing the first screen from the browser).
Re: Clearing a profoundui screen on put of a second screen
Posted: Wed Jul 21, 2010 8:40 am
by David
Apparently, this is a bug with version 2.1.1. When formats without overlay are written to the screen, all other formats should be removed. In some cases, this does not work properly. A fix for this issue will be available in the next release of Profound UI.