OffTextTop Property (ASwitch)

Returns or sets the top position in pixels of the OffText of the object. 

Syntax

Object.OffTextTop [ = lOffTextTop ]

The OffTextTop property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lOffTextTop

APixel

An integer specifying the top position in pixels of the OffText of the control.

Comments

The default value is -1 (AutoSize).

Example

The following statement changes the ASwitch's OffTextTop so the text of the switch for the 'Off' position is six pixels from the top:

sw1.OffTextTop=6

Applies to

ASwitch

See Also

OffText, OffTextColor, OffTextFont, OffTextHeight, OffTextLeft, OffTextWidth, OnTextTop