The way the colors in a Picture control are displayed, either inverted or normal.
Picture controls
Describe and Modify argument:
"bitmapname.Invert { = ' number ' }"
Parameter |
Description |
---|---|
bitmapname |
The name of the Picture control in the DataWindow for which you want to invert the colors. |
number |
(exp) A boolean number indicating whether the colors of the picture will display inverted. Values are:
Number can be a quoted DataWindow expression. |
Select the control and set the value in the Properties view, General tab, Invert Image check box.
setting = dw1.Describe("bitmap_1.Invert")
dw1.Modify(
"bitmap_1.Invert='0~tIf(empstatus=~~~'A~~~',0,1)'")