Skip to content

TWebCalendar

Below is a list of the most important properties, methods and events for TWebCalendar.

Designtime Runtime

Properties for TWebCalendar

Property Description
Day Sets/gets the selected day.
ElementBackgroundClassName Optionally sets the CSS classname for the background
ElementCurrentDateClassName Optionally sets the CSS classname for the current date
ElementDayNamesClassName Optionally sets the CSS classname for the day names
ElementHeaderClassName Optionally sets the CSS classname for the header
ElementSelectedDateClassName Optionally sets the CSS classname for the selected date
EnablePastDates Disable or enable the selection of past dates.
FirstDay Sets the first day of the week.
HintNext Sets a hint for the next button.
HintPrev Sets a hint for the previous button.
InactiveDays Sets the inactive days (for example: InactiveDays.Monday := True sets all mondays as inactive).
MaxDate Sets the maximum date.
MinDate Sets the minimum date.
Month Sets/gets the selected month.
MultiSelect Enable/disable selection of multiple dates
NameOfDays Change the displayed names of the days.
NameOfMonths Change the displayed names of the months.
SelectedDate Sets/gets the selected date.
ShowToday If enabled then today’s date is highlighted.
Year Sets/gets the selected year.

Methods for TWebCalendar

Method Description
SelectedDates Returns a set of selected dates.

Events for TWebCalendar

Event Description
OnDateSelected Event triggered when a date is selected.
OnDateUnselected Event triggered when a date is unselected.