Skip to main content

TdxLayoutLookAndFeelCaptionOptions Members

The base class for the objects that represent caption options for layout elements used in different look & feel types.

Constructors

Name Description
Create(TdxCustomLayoutLookAndFeelOptions)

Creates a new instance of the TdxLayoutLookAndFeelCaptionOptions object.

Descritpion

The Create method is used to create a new instance of the TdxLayoutLookAndFeelCaptionOptions object and initialize its unique properties.

Properties

Name Description
Font

Specifies caption font.

Descritpion

The Font property points to a TFont object that determines typographic attributes of the text displayed in a caption.

HotTrack

Specifies whether a caption is highlighted when the mouse passes over it.

Descritpion

Use the HotTrack property to specify the manner in which a caption responds to mouse movements over it. Set the HotTrack property to True in order to provide visual feedback as to which caption is under the mouse. When the HotTrack property is False, there is no visual feedback when the mouse passes over captions. To specify hot tracking styles, use the HotTrackStyles property.

The default value of the HotTrack property is False.

HotTrackStyles

Specifies hot tracking styles.

Descritpion

Values include:

| Value | Description | | | | | htsHandPoint | The mouse cursor changes to an image of a hand. | | htsUnderlineCold | An underline is displayed under all untracked items. | | htsUnderlineHot | An underline is displayed under the tracked item. |

To activate hot tracking, set the HotTrack property to True.

The default value of the HotTrackStyles property is [htsHandPoint, htsUnderlineHot].

TextColor

Specifies the caption’s text color.

The default value of the TextColor property is clDefault.

TextDisabledColor Specifies the text color for disabled layout elements.
TextHotColor

Specifies the text color of the hot-tracked caption.

Descritpion

Use the TextHotColor property to specify caption text color when hot tracking is active and the caption is beneath the mouse. To activate hot tracking, set the HotTrack property to True.

The default value of the TextHotColor property is clDefault.

UseDefaultFont

Specifies whether to use the default settings for the caption’s font.

Descritpion

If the UseDefaultFont property is True, caption font settings use default settings, regardless of the current Font property value. If the UseDefaultFont property is set to False, you can modify caption font as your application needs dictate. Changing caption font sets the UseDefaultFont property to False.

The default value of the UseDefaultFont property is True.

Methods

Name Description
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
Equals(TObject) Inherited from TObject.
GetFont(TComponent)
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
GetTextColor
GetTextDisabledColor
GetTextHotColor
ToString Inherited from TObject.
See Also