BringToTop

Applies to

Windows and controls

Description

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.

Usage


In a painter

StepsTo set BringToTop property for controls:

  1. Select the control.

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


In scripts

BringToTop takes a boolean value.

This statement brings the window in front of other windows in the application:

w_1.BringToTop = TRUE