Returns or sets the text associated with the Off position of the object.
Object.OffText [ = sOffText ]
The OffText property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
sOffText |
BString |
Returns or sets the text associated with the Off position of the control while in the Off state. |
The default is "Off".
The following statement changes the text for the Off state to "StandBy":
sw1.OffText="StandyBy"
OffTextColor, OffTextFont, OffTextHeight, OffTextLeft, OffTextTop, OffTextWidth, OnText