Band

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.

Applies to

Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

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 window, Layout category. When the control’s layer is Band, you can drag the control into another band.

Examples

Example 1

[Visual Basic]
DWBand = dw1.GetProperty("emp_title.Band")
DWBand = dw1.Describe("emp_title.Band")

[C#]
DWBand = dw1.GetProperty("emp_title.Band");
DWBand = dw1.Describe("emp_title.Band");