Top Window Overlay (Magic xpa 4.x)
You can replace the content of the topmost window (the window that displays the root task) without closing the context by:
Raising an asynchronous event (Wait=No), which is handled by the Main Program. The Main Program’s handler contains a Call Program operation, whose frame name is _top.
In this case:
-
The new task’s prefix is executed.
-
All the prior tasks are completely closed.
-
The new task appears on the screen.
If Magic xpa cannot close the prior tasks (that is a verify or data error with error Mode = Recover), the new task will be closed by executing its Task Suffix operations.
Raise an asynchronous event (Wait=No) in the Task Suffix of the root task, which is handled by the Main Program. The Main Program’s handler contains a Call Program operation. It does not matter what the destination frame is, since when the handler is executed, all browser programs are closed. The called program becomes the new task.