Windows and controls
For windows, this property specifies whether PowerBuilder moves the window to the top of the front-to-back order. For windows, this property can be set only in scripts.
For controls, this property specifies whether PowerBuilder moves the control to the top of the front-to-back order within the window.
To set BringToTop property for controls:
Select the control.
Right-click on the control and select Bring to Front or Send to Back from the Pop-up menu, or select Format>Bring to Front or Format>Send to Back from the menu bar.
BringToTop takes a boolean value.
This statement brings the window in front of other windows in the application:
w_1.BringToTop = TRUE