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

TdxAlertWindowManager.OnCustomDrawMessageCaptionText Event

Enables you to custom paint an alert window‘s message caption text.

Declaration

property OnCustomDrawMessageCaptionText: TdxAlertWindowManagerCustomDrawMessageCaptionTextEvent read; write;

Remarks

Sender specifies the alert window manager that fired the event.

AAlertWindow specifies the alert window being custom painted.

ACanvas specifies the drawing surface.

AViewInfo provides the ViewInfo information (a TdxAlertWindowCaptionTextViewInfo class instance) used to paint the alert window’s message caption text. Refer to the TdxAlertWindowHitTest.HitMessageCaptionText property description to learn about the main TdxAlertWindowCaptionTextViewInfo properties accessible via AViewInfo that you can use for custom painting.

ADone specifies whether default painting is required. Set ADone to True, to prevent default code execution.

See Also