CalDAV Delphi Component
- Brand: Sync-Components
- Product Code: DAV Delphi Component
- Availability: In Stock
CalDAV Delphi component is a non-visual Delphi component that allows you to exchange information with calendar servers through the CalDAV protocol using Delphi.
Note, since there are many CalDAV server implementations, price of the component includes adopting it to a server of your choice, if needed.
Features
- Auto discovery of calendar resources URIs
- Multi-threaded mode with customizable number of threads
- Batch storing of changes
- Create, rename and delete calendars
- Create and edit calendar events and tasks
- Access to iCalendar text for each event with possibility to read and modify any fields for an object
- Request events for the specified time range only
- Full time zones support
- Proxy servers support
Examples
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.LoadEvents(StartTime, EndTime);
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);
Compiled Demo Screenshots
Buy at Tokopedia!
Buy Now!Tags: CalDAV Delphi Component, Sync-Components, Delphi, Data Access and Storage, DAV