‎2008 Apr 17 10:09 AM
i want to close/remove a dialog window, after it calls a new ( full screen) window.. currently what heppening is that the dialog window (smaller in size) remains open at background and when i move back, the window is still there..
window---->dialog window calls--> window
(full screen) (small) (full screen)
window->dialog window <back/close-- window
(full screen) (small) (full screen)
i want to close/end the dialog window before i move to nxt window, how can i do that..
thanx,
‎2008 Apr 17 11:47 AM
Hi,
Try using..
'LEAVE TO SCREEN <screen_no>'
Instead of using - 'CALL SCREEN <screen_no>'
‎2008 Apr 17 12:01 PM
Hi,
Write a LEAVE TO SCREEN 0 statement after your CALL SCREEN statement. I think this would solve the problem.
When you call a screen, it stores the previous screen ID in memory and returns back to this screen when the called screen processing is completed. When it executes LEAVE to SCREEN 0, the control goes to your first screen.
Reward points if helpful.
Thanks and Regards,
Lakshmi.
‎2008 Jul 04 8:09 AM
well , the solution of this prob is i had to move back to the initial window and from their onwards (based on a flag), move to the second window.
Thanx all for contributing..