Table of Contents

TTMSFNCCalendar.OnBeforeDrawBadge Event

Occurs before the calendar draws badge.

API unit family: TMSFNCCalendar Declaring type: TTMSFNCCalendar Inherited from: TTMSFNCCustomCalendar

Syntax

OnBeforeDrawBadge: TTMSFNCCalendarBeforeDrawBadgeEvent;

Parameters

Name Description
Sender The object that raised the event.
AGraphics The graphics context used for drawing.
ARect The drawing rectangle.
ABadge The calendar event item that supplies badge information.
AAllow Set to False to cancel the operation.
ADefaultDraw Set to False to skip the default drawing.