Table of Contents

Getting Started with TMS FNC Calendar

TTMSFNCCalendar is a full-featured calendar control with single and multi-date selection, event badges, navigation modes, and optional year/month popups. TTMSFNCDatePicker wraps the same calendar in a dropdown edit.

TTMSFNCCalendar anatomy — header, weekday names, date grid, footer

Prerequisites

  • Delphi with TMS FNC UI Pack installed.
  • A VCL, FMX, or WEB application.

Steps

1. Drop the component

Drop a TTMSFNCCalendar onto a form. The calendar displays the current month by default.

2. Select a date in code

TMSFNCCalendar1.SelectADate(Now);

3. Enable multi-select

TMSFNCCalendar1.Interaction.MultiSelect := True;
TMSFNCCalendar1.SelectMultiDates(Now, Now + 6);  // select a week

4. React to selection

procedure TForm1.TMSFNCCalendar1SelectDate(Sender: TObject; ADate: TDate);
begin
  ShowMessage(DateToStr(ADate));
end;

Next steps