Gradient.property
property (DataWindow object)
Description
Settings that control the gradient display in a DataWindow object.
Gradient display properties are not supported in RichText, Graph, or OLE
DataWindow presentation styles.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.datawindow.gradient.property |
Describe and Modify argument:
|
1 |
"DataWindow.gradient.property { = value }" |
|
Parameter |
Description |
|---|---|
|
property |
A property for the gradient. Properties and their |
|
value |
The value to be assigned to the property. For |
|
Property for Gradient |
Value |
|---|---|
|
Angle |
An integer indicating the angle in degrees (values Painter: Background tab, |
|
Color |
The gradient color of the DataWindow. This property Painter: Background tab, Gradient |
|
Focus |
An integer in the range 0 to 100, specifying the Painter: Background |
|
Repetition.Mode |
Specifies the mode for determining the number of Permitted values and their
Painter: Background tab, Gradient |
|
Repetition.Count |
An integer specifying the number of gradient Painter: Background tab, Gradient |
|
Repetition.Length |
A long specifying the number of gradient Painter: Background tab, Gradient |
|
Scale |
An integer in the range 0 to 100 specifying the Painter: Background tab, Gradient |
|
Spread |
An integer in the range 0 to 100 indicating the Painter: Background tab, Gradient |
|
Tranparency |
An integer in the range 0 to 100, where 0 means Painter: Background tab, Gradient |
Usage
In the painter
Select the DataWindow object and set the value on the Background
tab of the Properties view.
If you save to an EMF or WMF, the properties on the Background tab
are not saved with the DataWindow.
Examples
|
1 2 3 4 5 6 |
string ls_data ls_data = dw_1.Object.datawindow.brushmode dw_1.Object.datawindow.Brushmode = 5 ls_data = dw_1.Describe("datawindow.brushmode") dw_1.Modify("datawindow.Brushmode=6") dw_1.Modify("datawindow.Gradient.Transparency=75") |
See also