Returns or sets the left position in pixels of the caption text in the object.
Object.CaptionLeft [ = lCaptionLeft ]
The CaptionLeft property syntax has the following parts:
Name |
Type |
Description |
Object |
ASlider |
ASlider control |
lCaptionLeft |
An integer specifying the position in pixels of the leftmost part of the caption on the object. |
The default value is -1 (not used).
The following statement changes the ASlider's CaptionLeft so the text starts at five pixels from the left side of the focus area of the slider:
sld1.CaptionLeft=5
Caption, CaptionColor, CaptionFont, CaptionHeight, CaptionTop, CaptionWidth