Returns or sets the height in pixels of the caption text in the object.
Object.CaptionHeight [ = lCaptionHeight ]
The CaptionHeight property syntax has the following parts:
Name |
Type |
Description |
Object |
ASlider |
ASlider control |
lCaptionHeight |
An integer specifying the height in pixels of the caption on the object. |
The default height is -1 (AutoSize).
The following statement changes the ASlider's CaptionHeight so the text of the caption is twelve pixels high in the face area of the slider:
sld1.CaptionHeight=12
Caption, CaptionColor, CaptionFont, CaptionLeft, CaptionTop, CaptionWidth