Page 1 of 1

Open window popup over main screen

Posted: Mon Jan 09, 2017 5:46 am
by amanso
Hi,
I'm trying to launch a window popup using profound ui Rich Displays within a PHP script:

I create another record format configuring show as window to true. When I call this control the content (a css panel ) is showed but the main screen dissapear.

I know this over RPG programs this works well, is possible in php scripts or is there a limitation here?

Thanks

Re: Open window popup over main screen

Posted: Mon Jan 09, 2017 9:49 am
by Scott Klement
In web, there is no way to write the next display "on top of" the existing display like there is in 5250.

In RPG, the Open Access handler solves this problem by remembering which screens you've written. Then, when you try to pop up a window on top of others, it re-sends the old screen format(s) as well as the new window. Profound UI then draws the old format with the new format on top of it.

In PHP, there is no Open Access handler, so to create a popup window you would have to do the same thing, you'd have to send the old display and the new popup as layers so that the new popup display would appear on top.

Re: Open window popup over main screen

Posted: Tue Jan 10, 2017 11:16 am
by amanso
Ok thanks