Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxAlertWindowHitTest.HitMessageText Property

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

#Declaration

Delphi
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