CaptionLeft Property (ASlider)

Returns or sets the left position in pixels of the caption text in the object.

Syntax

Object.CaptionLeft [ = lCaptionLeft ]

The CaptionLeft property syntax has the following parts:

 

Name

Type

Description

Object

ASlider

ASlider control

lCaptionLeft

APixel

An integer specifying the position in pixels of the leftmost part of the caption on the object.

Comments

The default value is -1 (not used).

Example

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

Applies to

ASlider

See Also

Caption, CaptionColor, CaptionFont, CaptionHeight, CaptionTop, CaptionWidth