Returns or sets the left position in pixels of the OnText of the object.
Object.OnTextLeft [ = lOnTextLeft ]
The OnTextLeft property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lOnTextLeft |
An integer specifying the left position in pixels of the OnText of the control. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's OnTextLeft so the text of the switch for the 'On' position is six pixels from the left:
sw1.OnTextLeft=6
OffTextLeft, OnText, OnTextColor, OnTextFont, OnTextHeight, OnTextTop, OnTextWidth