Skip to main content
A newer version of this page is available. .

TdxAlertWindowHitTest.HitMessageCaptionText Property

Returns the ViewInfo information associated with the inspected point if it corresponds to an alert window‘s message caption text area.

Declaration

property HitMessageCaptionText: TdxAlertWindowCaptionTextViewInfo read;

Property Value

Type
TdxAlertWindowCaptionTextViewInfo

Remarks

This property returns a TdxAlertWindowCaptionTextViewInfo class instance if the HitAtMessageCaptionText property returns True for the inspected point; otherwise, nil.

The table below lists the main TdxAlertWindowCaptionTextViewInfo properties that are useful for custom painting.

Property Description
Bounds The bounding rectangle of the area.
Painter The painter class that is used to paint the area.
Text Text to be painted within the area.
Font Font settings.

Note

Since methods of ViewInfo classes support the internal infrastructure and are not intended for use in your code, we recommend that you use only ViewInfo class properties.

See Also