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

TdxAlertWindowHitTest.HitMessageText Property

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

Declaration

property HitMessageText: TdxAlertWindowMessageTextViewInfo read;

Property Value

Type
TdxAlertWindowMessageTextViewInfo

Remarks

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

The table below lists the main TdxAlertWindowMessageTextViewInfo 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.
IsTextClipped Indicates if the text is clipped. When clipped, the portion of the text that cannot fit the message text area is replaced with an ellipsis. You can dynamically adjust the size of this area by handling the OnMeasureMessageText event.
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