Highlighted
Absent Member.
Absent Member.
757 views

Floating window place on top of other windows

[Migrated content. Thread originally posted on 01 July 2011]

Hi there,

We have a floating window which is always resident so we do not have to load/unload controls everytime the window is needed. We just make it visible when called etc.

When we need to display the window when other floating windows are already displayed it appears behind the current floating window.

How do we bring it to the front when it is called and resdisplayed ?

Thank-you.

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Floating window place on top of other windows

Use the Set phrase ... Format 10

SET INPUT-OUTPUT WINDOW TO window-1

window-1 being the handle of the window that you want to have focus.


1.Format 10 of the SET verb makes window-1 the current, or current and active window. The current window is the window to which DISPLAY statements refer. The active window is the window that is highlighted and the one to which user input is directed. Window-1 must be a handle to a valid floating window. If window-1 does not refer to a valid floating window, the SET statement has no effect.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Floating window place on top of other windows

thanks shjerpe. worked really well.

sfi_dev
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.