Google Tasks Delphi Component
- Brand: Sync-Components
- Product Code: Google Delphi Component
- Availability: In Stock
Google Tasks Delphi Component is a non-visual component that allows you to work with Google Tasks data using Delphi. The component supports Delphi 7 and newer versions and works directly with Google using official APIs. Official APIs use guarantees maximum compatibility and fewest possible modifications to future versions.
Features
- Create and edit tasks and task lists (all properties supported, including hierarchy, due date and completion)
- Access to XML code for each object with possibility to read and modify any fields of an object
- Proxy servers support
Examples
Connecting to Google Tasks and showing default list of Tasks in listbox.
GTasks := TGTasks.Create;
GTasks.OAuthKey := ClientIDEd.Text;
GTasks.OAuthSecret := ClientSecretEd.Text;
GTasks.Connect;
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);
Compiled Demo Screenshots
Tags: Google Tasks Delphi Component, Sync-Components, Delphi, Data Access and Storage, google