Bandname.property DataWindow object property
Description
Settings for the color, size, and pointer of a band in the
DataWindow object. The gradient settings do not work in reports.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.<span>bandname</span>.<span>property</span> |
Describe and Modify argument:
1 |
"DataWindow.<span>bandname</span>{.#}.<span>property </span>{ = <span>value </span>}" |
Parameter |
Description |
---|---|
bandname |
The identifier of a band in the DataWindow Values are:
![]() and tree.level.# bands You cannot use dot notation to set the header.#, |
# |
The number of the group or TreeView level |
property |
A property that applies to the band, |
value |
Values for the properties are shown in |
Property for Bandname |
Value |
---|---|
Brushmode |
(exp) An integer Values are:
Painter: Background tab, Gradient group (not available for |
Color |
(exp) A long specifying Painter: General tab. |
Height |
An integer specifying the height of the Painter: General tab. For another way of setting the height of the detail band, |
Height.AutoSize |
Allows the band to grow to display a Values are:
This property can You can set this property on individual columns and controls There are some limitations on the use of this property:
Painter: General tab when the band is selected. |
Pointer |
(exp) A string specifying Painter: Pointer tab. |
Suppress |
A boolean that lets you suppress group Values are:
Painter: General tab when a group header band is selected. |
Transparency |
(exp) An integer Painter: Background tab. |
Gradient.Angle |
(exp) An integer Painter: Background tab, Gradient group. |
Gradient.Color |
(exp) A long specifying Painter: Background tab. |
Gradient.Focus |
(exp) An integer Painter: Background tab, Gradient group |
Gradient.Scale |
(exp) An integer Painter: Background tab, Gradient group |
Gradient.Spread |
(exp) An integer Painter: Background tab, Gradient group |
Gradient.Repetition.Mode |
(exp) Specifies Permitted values and their meanings are:
Painter: Background tab, Gradient group. |
Gradient.Repetition.Count |
(exp) An integer Painter: Background tab, Gradient group. |
Gradient.Repetition.Length |
(exp) A long specifying Painter: Background tab, Gradient group. |
Gradient.Transparency |
(exp) An integer Painter: Background tab, Gradient group. |
Usage
In the painter
Select the band by clicking the gray divider for the band.
Set the value in the Properties view.
Examples
1 |
string ls_data |
1 |
ls_data = dw1.Object.DataWindow.Detail.Height |
1 |
dw1.Object.DataWindow.Detail.Pointer = "hand.cur" |
1 |
ls_data = dw1.Describe("DataWindow.Detail.Height") |
1 |
ls_data = & |
1 |
dw1.Describe("DataWindow.Detail.Height.AutoSize") |
1 |
dw1.Modify("DataWindow.Detail.Pointer='hand.cur'") |
1 |
dw1.Modify("DataWindow.Detail.Pointer='~"Cross!~" ~t |
1 |
if(emp_status=~"a~", ~"HourGlass!~", ~"Cross!~")'") |
1 |
dw1.Modify("DataWindow.Footer.Height=250") |
1 |
ll_color = RGB(200, 200, 500) |
1 |
dw1.Modify("DataWindow.Header.2.Color=" & |
1 |
+ String(ll_color)) |
1 |
dw1.Modify("DataWindow.Trailer.2.Height=500") |
1 |
dw1.Modify( & |
1 |
  "DataWindow.Summary.Pointer='c:pb otal.cur'") |