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