Table 20-3 shows the properties for each control in a DataWindow object that determine how it is positioned within the DataWindow object.
Property |
Meaning |
---|---|
Background |
Control is behind other controls. It is not restricted to one band. This is useful for adding a watermark (such as the word CONFIDENTIAL) to the background of a report. |
Band |
Control is placed within one band. It cannot extend beyond the band's border. |
Foreground |
Control is in front of other controls. It is not restricted to one band. |
Moveable |
Control can be moved at runtime and in preview. This is useful for designing layout. |
Resizable |
Control can be resized at runtime and in preview. This is useful for designing layout. |
HideSnaked |
Control appears only in the first column on the page; in subsequent columns the control does not appear. This is only for newspaper columns, where the entire DataWindow object snakes from column to column (set on the General page of the Properties view). |
PowerBuilder uses the defaults shown in Table 20-4 when you place a new control in a DataWindow object.
Control |
Default positioning |
---|---|
Graph |
Foreground, movable, resizable |
All other controls |
Band, not movable, not resizable |
To change the position of a control in a DataWindow object:
Select Properties from the control's pop-up menu and then select the Position tab.
From the Layer option drop-down list, select Background, Band, or Foreground.
Select Resizable or Moveable as appropriate.