Returns or sets the width in pixels of the OffText of the object.
Object.OffTextWidth [ = lOffTextWidth ]
The OffTextWidth property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lOffTextWidth |
An integer specifying the width in pixels of the OffText of the control. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's OffTextWidth so the text of the switch for the 'Off' position is six pixels long:
sw1.OffTextWidth=6
OffText, OffTextColor, OffTextFont, OffTextHeight, OffTextLeft, OffTextTop, OnTextWidth