Bandname.property
(DataWindow object)
Description
Settings for the color, size, and pointer of a band in the
DataWindow object. The gradient settings do not work in reports.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.bandname.property |
Describe and Modify argument:
|
1 |
"DataWindow.bandname{.#}.property { = value }" |
|
Parameter |
Description |
|---|---|
|
bandname |
The identifier of a band in the DataWindow Values are:
Setting the header.#, trailer.#, and You cannot use dot notation to |
|
# |
The number of the group or TreeView level you want |
|
property |
A property that applies to the band, as listed in |
|
value |
Values for the properties are shown in the |
|
Property for Bandname |
Value |
|---|---|
|
Brushmode |
(exp) An integer indicating the type of “brush” to Values are: 0 — 1 — Horizontal 2 — 3 — Angle 4 — 5 — Radial Painter: |
|
Color |
(exp) A long specifying the color (the red, green, Painter: General tab. |
|
Height |
An integer specifying the height of the detail area Painter: General tab. For |
|
Height.AutoSize |
Allows the band to grow to display a row, picture, Values are: No — Fixes the band Yes — Adjusts the band height to accommodate This property can be You can set this property on individual columns There are some
Painter: General tab when the band is |
|
Pointer |
(exp) A string specifying a value of the Pointer Painter: Pointer |
|
Suppress |
A boolean that lets you suppress group headers Values are: No — Does not Yes — Suppresses group Painter: General tab when a group header |
|
Transparency |
(exp) An integer in the range 0 to 100, where 0 Painter: Background |
|
Gradient.Angle |
(exp) An integer indicating the angle in degrees Painter: |
|
Gradient.Color |
(exp) A long specifying the color (the red, green, Painter: Background |
|
Gradient.Focus |
(exp) An integer in the range 0 to 100, specifying Painter: Background tab, Gradient |
|
Gradient.Scale |
(exp) An integer in the range 0 to 100 specifying Painter: Background tab, Gradient |
|
Gradient.Spread |
(exp) An integer in the range 0 to 100 indicating Painter: Background tab, Gradient |
|
Gradient.Repetition.Mode |
(exp) Specifies the mode for determining the number Permitted values and their meanings
Painter: Background tab, Gradient |
|
Gradient.Repetition.Count |
(exp) An integer specifying the number of gradient Painter: Background tab, Gradient |
|
Gradient.Repetition.Length |
(exp) A long specifying the number of gradient Painter: |
|
Gradient.Transparency |
(exp) An integer in the range 0 to 100, where 0 Painter: Background tab, Gradient |
Usage
In the painter
Select the band by clicking the gray divider for the band. Set the
value in the Properties view.
Examples
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
string ls_data ls_data = dw1.Object.DataWindow.Detail.Height dw1.Object.DataWindow.Detail.Pointer = "hand.cur" ls_data = dw1.Describe("DataWindow.Detail.Height") ls_data = & dw1.Describe("DataWindow.Detail.Height.AutoSize") dw1.Modify("DataWindow.Detail.Pointer='hand.cur'") dw1.Modify("DataWindow.Detail.Pointer='~"Cross!~" ~t if(emp_status=~"a~", ~"HourGlass!~", ~"Cross!~")'") dw1.Modify("DataWindow.Footer.Height=250") ll_color = RGB(200, 200, 500) dw1.Modify("DataWindow.Header.2.Color=" & + String(ll_color)) dw1.Modify("DataWindow.Trailer.2.Height=500") dw1.Modify( & "DataWindow.Summary.Pointer='c:pb otal.cur'") |