Returns or sets the color of the OffText of the object.
Object.OffTextColor [ = dwOffTextColor ]
The OffTextColor property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
dwOffTextColor |
An integer specifying the color of the OffText of the control. |
The colors are specified by their RGB values. The default is the Current Ambient foreground Color.
The following statement returns the ASwitch OffTextColor:
dwsw1OffTextColor = sw1.OffTextColor
OffText, OffTextFont, OffTextHeight, OffTextLeft, OffTextTop, OffTextWidth, OnTextColor