CaptionColor Property (ASlider)

Returns or sets the color of the caption on the object.

Syntax

Object.CaptionColor [ = dwCaptionColor ]

The CaptionColor property syntax has the following parts:

 

Name

Type

Description

Object

ASlider

ASlider control

dwCaptionColor

AColor

An integer specifying the text color of the caption of the object.

Comments

The colors are specified by their RGB values. The default is the current Ambient foreground color.

Example

The following statement returns the ASlider CaptionColor:

lsdl1CaptionColor = sld1.CaptionColor

Applies to

ASlider

See Also

Caption, CaptionFont, CaptionHeight, CaptionLeft, CaptionTop, CaptionWidth