Invert DataWindow object property
Description
The way the colors in a Picture control are displayed, either
inverted or normal.
Controls
Picture controls
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>bitmapname</span>.Invert |
Describe and Modify argument:
|
1 |
"<span>bitmapname</span>.Invert { = '<span> number</span> ' }" |
|
Parameter |
Description |
|---|---|
|
bitmapname |
The name of the Picture control in the |
|
number |
(exp) A boolean
Number can be a quoted DataWindow expression. |
Usage
In the painter
Select the control and set the value in the Properties view, General
tab, Invert Image check box.
Examples
|
1 |
string setting |
|
1 |
setting = dw1.Object.bitmap_1.Invert |
|
1 |
dw1.Object.bitmap_1.Invert="0~tIf(empstatus='A',0,1)" |
|
1 |
setting = dw1.Describe("bitmap_1.Invert") |
|
1 |
dw1.Modify( & |
|
1 |
"bitmap_1.Invert='0~tIf(empstatus=~~~'A~~~',0,1)'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest