Returns or sets the color of the caption on the object.
Object.CaptionColor [ = dwCaptionColor ]
The CaptionColor property syntax has the following parts:
Name |
Type |
Description |
Object |
ASlider |
ASlider control |
dwCaptionColor |
An integer specifying the text color of the caption of the object. |
The colors are specified by their RGB values. The default is the current Ambient foreground color.
The following statement returns the ASlider CaptionColor:
lsdl1CaptionColor = sld1.CaptionColor
Caption, CaptionFont, CaptionHeight, CaptionLeft, CaptionTop, CaptionWidth