Band
property (DataWindow object)
Description
The band or layer in the DataWindow object that contains the
control. The returned text is one of the following, where # is the level
number of a group: detail, footer, header, header.#, summary, trailer.#,
tree.level.#, foreground, background.
Changing a control’s band
Use the SetPosition method to change a control’s band at
runtime.
Applies to
Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval,
Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text
controls
Syntax
PowerBuilder dot notation:
1 |
dw_control.Object.controlname.Band |
Describe and Modify argument:
1 |
"controlname.Band" |
Parameter |
Description |
---|---|
controlname |
The name of the control within the DataWindow for |
Usage
In the painter
Select the control and set the value in the Properties view,
Position tab, Layer option. When the control’s layer is Band, you can
drag the control into another band.
Examples
1 2 |
ls_data = dw1.Object.emp_title.Band ls_data = dw1.Describe("emp_title.Band") |