Positioning controls in a DataWindow object
The following table 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 |
|
Band |
Control is placed within one band. It cannot extend |
|
Foreground |
Control is in front of other controls. It is not |
|
Moveable |
Control can be moved at runtime and in preview. |
|
Resizable |
Control can be resized at runtime and in preview. |
|
HideSnaked |
Control appears only in the first column on the |
Default positioning
PowerBuilder uses the defaults shown in the following table 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.