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