CaptionFont Property (ASlider)

Returns or sets the Font object used to draw the caption text of the object on the object.

Syntax

Object.Font [ = fontCaptionFont ]

The Font property syntax has the following parts:

 

Name

Type

Description

Object

ASlider

ASlider control

fontCaptionFont

AFont

The Font object used to draw the caption text of the object.

Comments

See the AFont class for the properties.

Example

The following statement returns the ASlider CaptionFont:

fontsld1CaptionFont = sld1.CaptionFont.Name

Applies to

ASlider

See Also

Caption, CaptionColor, CaptionHeight, CaptionLeft, CaptionTop, CaptionWidth, Font