Skip to main content

Floating window place on top of other windows

  • July 1, 2011
  • 2 replies
  • 0 views

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

2 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • July 1, 2011

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

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.

  • Author
  • Rocketeer
  • 19312 replies
  • July 2, 2011

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

thanks shjerpe. worked really well.

sfi_dev