CaptionTop Property (ASlider)

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

Syntax

Object.CaptionTop [ = lCaptionTop ]

The CaptionTop property syntax has the following parts:

 

Name

Type

Description

Object

ASlider

ASlider control

lCaptionTop

APixel

An integer specifying the top position in pixels of the caption text on the object.

Comments

The default value is -1 (not used).

Example

The following statement changes the ASlider's CaptionTop so the caption starts at twelve pixels from the top of the focus area of the slider:

sld1.CaptionTop=12

Applies to

ASlider

See Also

Caption, CaptionColor, CaptionFont, CaptionHeight, CaptionLeft, CaptionWidth