Skip to main content

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 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 through the AViewInfo parameter 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