依PB說明, 這個property好像只能用SetPosition變更
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.
Controls
Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls
Syntax
PowerBuilder dot notation:
dw_control.Object.controlname.Band
Describe and Modify argument:
"controlname.Band"
Parameter Description
controlname The name of the control within the DataWindow for which you want the band it occupies
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.