Returns or sets the color of the Picture in the Off state of the object.
Object.OffPictureColor [ = dwOffPictureColor ]
The OffPictureColor property syntax has the following parts:
Name |
Type |
Description |
Object |
ASwitch |
ASwitch control |
dwOffPictureColor |
An integer specifying the color of the Picture in the Off state of the control. |
The colors are specified by their RGB values. The default is light gray except for the LED style, which will have a green color.
The following statement returns the ASwitch OffPictureColor.
dwsw1OffPictureColor = sw1.OffPictureColor