Positioning controls in a DataWindow object
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 |
Band |
Control is placed within one band. It |
Foreground |
Control is in front of other controls. |
Moveable |
Control can be moved at runtime and in |
Resizable |
Control can be resized at runtime and |
HideSnaked |
Control appears only in the first column |
Default positioning
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.