OffPictureColor Property (ASwitch)

Returns or sets the color of the Picture in the Off state of the object.

Syntax

Object.OffPictureColor [ = dwOffPictureColor ]

The OffPictureColor property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

dwOffPictureColor

AColor

An integer specifying the color of the Picture in the Off state of the control.

Comments

The colors are specified by their RGB values. The default is light gray except for the LED style, which will have a green color.

Example

The following statement returns the ASwitch OffPictureColor.

dwsw1OffPictureColor = sw1.OffPictureColor

Applies to

ASwitch

See Also

OffPicture, OnPicture, OnPictureColor