Backpack Delphi component is a non-visual component that allows you to work with 37 signals' Backpack service. The component supports Delphi 7 and higher Delphi versions and works directly with Backpack using official API.
Connecting to Backpack and showing list of calendars in listbox.
Backpack := TBackpack.Create;
Backpack.Connect('https://mydomain.backpackit.com', 'MyToken');
Backpack.LoadCalendars;
for I := 0 to Backpack.CalendarsCount - 1 do
ListBox1.Items.Add(Backpack.Calendars[I].Name);
Adding a new event starting April, 20, 2012 at 10:00, ending at 10:30 with a title "Meeting John".
with Backpack.NewEvent(SomeCalendar) do begin StartTime := EncodeDate(2012, 4, 20) + EncodeTime(10, 0, 0, 0); EndTime := EncodeDate(2012, 4, 20) + EncodeTime(10, 30, 0, 0); Title := 'Meeting John'; Store; end;
Deleting an event with index number 5.
Backpack.DeleteEvent(5);
Download working example.
Note! The trial version of the component is available upon request.
BDC 1.0
Feb. 15, 2012