Skip to main content

[archive] Screen Focus after Print Preview

  • December 20, 2006
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 20 December 2006]

Hello
When we launch a print preview from a screen (Screen2) and then close out of the print preview the focus is no longer on Screen2, but on the menu screen (Screen1). We then have to click on Screen2 to get the focus back on it. Is there any way to set the screen you want the focus on coming out of a print preview? I am using version 6.2

Thanks!

2 replies

[Migrated content. Thread originally posted on 20 December 2006]

Hello
When we launch a print preview from a screen (Screen2) and then close out of the print preview the focus is no longer on Screen2, but on the menu screen (Screen1). We then have to click on Screen2 to get the focus back on it. Is there any way to set the screen you want the focus on coming out of a print preview? I am using version 6.2

Thanks!
Hi, I hope this will solve your problem

* Calling the Preview Screen
PERFORM THREAD Acu-Preview-SCR-Routine HANDLE IN WS-Preview-THREAD.
WAIT FOR WS-Preview-THREAD.

* Try the following 2 statements
ACCEPT Screen2 BEFORE TIME 0.
SET I-O WINDOW TO Screen2-SCR-HANDLE.

[Migrated content. Thread originally posted on 20 December 2006]

Hello
When we launch a print preview from a screen (Screen2) and then close out of the print preview the focus is no longer on Screen2, but on the menu screen (Screen1). We then have to click on Screen2 to get the focus back on it. Is there any way to set the screen you want the focus on coming out of a print preview? I am using version 6.2

Thanks!
This seems to work! Thanks!!:D