OffText Property (ASwitch)

Returns or sets the text associated with the Off position of the object.

Syntax

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.

Comments

The default is "Off".

Example

The following statement changes the text for the Off state to "StandBy":

sw1.OffText="StandyBy"

Applies to

ASwitch

See Also

OffTextColor, OffTextFont, OffTextHeight, OffTextLeft, OffTextTop, OffTextWidth, OnText