Invert
property (DataWindow object)
Description
The way the colors in a Picture control are displayed, either
inverted or normal.
Applies to
Picture controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.bitmapname.Invert |
Describe and Modify argument:
|
1 |
"bitmapname.Invert { = ' number ' }" |
|
Parameter |
Description |
|---|---|
|
bitmapname |
The name of the Picture control in the DataWindow |
|
number |
(exp) A boolean number indicating whether the 0 — (Default) No; do not invert the picture’s 1 — Yes; display the picture with colors Number can be a quoted DataWindow |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab, Invert Image check box.
Examples
|
1 2 3 4 5 6 |
string setting setting = dw1.Object.bitmap_1.Invert dw1.Object.bitmap_1.Invert="0~tIf(empstatus='A',0,1)" setting = dw1.Describe("bitmap_1.Invert") dw1.Modify( & "bitmap_1.Invert='0~tIf(empstatus=~~~'A~~~',0,1)'") |