Table of Contents

TTMSFNCCalendarEvents Class

Collection of TTMSFNCCalendarEventItem entries representing dates with associated event badges shown in the calendar grid.

API unit family: TMSFNCCalendar Inherits from: TTMSFNCCalendarDates

Syntax

TTMSFNCCalendarEvents = class(TTMSFNCCalendarDates)

Properties

Name Description
Items Indexed access to the date items in this collection. (inherited from TTMSFNCCalendarDates)

Methods

Name Description
Add Appends a new date item to the collection and returns it. (inherited from TTMSFNCCalendarDates)
GetEventCollectionItemByDate Returns the event item for the specified date, or nil if no event is registered for that date.
InCollection Returns True when ADate is present in the collection. (inherited from TTMSFNCCalendarDates)
SelectDate Adds the specified date to the collection. (inherited from TTMSFNCCalendarDates)
SelectDateInterval Adds all dates in the inclusive range from ADateFrom to ADateTo to the collection. (inherited from TTMSFNCCalendarDates)
UnselectAll Removes all dates from the collection. (inherited from TTMSFNCCalendarDates)
UnselectDate Removes the specified date from the collection. (inherited from TTMSFNCCalendarDates)

Events

Name Description
OnChange Fires when the collection changes. (inherited from TTMSFNCCalendarDates)