Table of Contents

TTMSFNCCloudGoogleTasks.AddTaskToList Method

Adds the supplied task to the given task list on the service.

API unit family: TMSFNCCloudGoogleTasks Declaring type: TTMSFNCCloudGoogleTasks Inherited from: TTMSFNCCustomCloudGoogleTasks

Syntax

procedure AddTaskToList(ATaskList: TTMSFNCCloudGoogleTasksTaskList; ATask: TTMSFNCCloudGoogleTasksTask);

Remarks

The OnAddTask event reports the result. The task is created as a subtask when its TTMSFNCCloudGoogleTasksTask.Parent is set.

Parameters

Name Description
ATaskList Task list that receives the new task.
ATask Task to add, providing the title, due date, status and notes.