Highlighted
Absent Member.
Absent Member.
615 views

[archive] Screen Focus after Print Preview

[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!
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Screen Focus after Print Preview

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.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Screen Focus after Print Preview

This seems to work! Thanks!!:D
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.