Band DataWindow object property
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.

Use the SetPosition method to change a control’s
band at runtime.
Controls
Button, Column, Computed Field, Graph, GroupBox, Line, OLE,
Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and
Text controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Band |
Describe and Modify argument:
1 |
"<span>controlname</span>.Band" |
Parameter |
Description |
---|---|
controlname |
The name of the control within the DataWindow |
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 |
ls_data = dw1.Object.emp_title.Band |
1 |
ls_data = dw1.Describe("emp_title.Band") |