Google Tasks Delphi Component is a non-visual component that allows to work with Google Tasks using Delphi. The component supports Delphi 7 and higher versions and works directly with Google using official API. Official API use guarantees maximum compatibility and fewest possible modifications to future versions.
Connecting to Google Tasks and showing default list of Tasks in listbox.
GTasks := TGTasks.Create;
GTasks.Connect('Username', 'Password');
GTasks.LoadLists;
DefList := TGTasks.Lists[0];
DefList.LoadTasks;
for I := 0 to DefList.TasksCount - 1 do
ListBox1.Items.Add(DefList.Tasks[I].Title);
Adding a new task with title "Buy milk", and notes "Some notes".
With DefList.NewTask do begin Title := 'Buy milk'; Notes := 'Some notes'; Store; End;
Deleting task with index number 5.
DefList.DeleteTask(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. .
GTDC 1.0
Dec. 01, 2011