CalDAV Delphi component is a non-visual component that allows you to work with CalDAV calendars using Delphi. The component supports Delphi 7 and higher Delphi versions.
Connecting to a calendar service and showing list of events in listbox.
CDCalendar := TCDCalendar.Create; CDCalendar.BaseURL := 'https://www.server.com/calendar/dav/events'; CDCalendar.UserName := 'UserName'; CDCalendar.Password := 'password'; CDCalendar.Load; for I := 0 to CDCalendar.EventsCount - 1 do ListBox1.Items.Add(CDCalendar.Events[I].Title); CDCalendar.Free;
Adding a new event "Meeting" that starts October, 12, 2010 at 10:00 AM and ends at 11:00 AM, with description "Description".
With CDCalendar.NewEvent do begin Title := 'Meeting'; StartTime := EncodeDateTime(2010, 10, 12, 10, 0, 0, 0); EndTime := EncodeDateTime(2010, 10, 12, 11, 0, 0, 0); Description := 'Description'; Store; end;
Deleting an event with index number 5.
CDCalendar.DeleteEvent(5);
Download working example.
Note! The trial version of the component is available This e-mail address is being protected from spambots. You need JavaScript enabled to view it. .
CDDC 1.01
Jan. 10, 2012
CDDC 1.0
Dec. 01, 2011