Background.property  Bandname.property

Chapter 3: DataWindow Object Properties

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.#, foreground, background.

NoteChanging a control’s band Use the SetPosition function to change a control’s band during execution.

Applies to

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

Syntax

PocketBuilder 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.

Examples

Example 1

ls_data = dw_1.Object.emp_title.Band

Example 2

ls_data = dw_1.Describe("emp_title.Band")





Copyright © 2004. Sybase Inc. All rights reserved. Bandname.property

View this book as PDF