Skip to main content
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

FMX.TMSFNCCloudGoogleTasks.hppPascalC++
procedure AddTaskToList(ATaskList: TTMSFNCCloudGoogleTasksTaskList; ATask: TTMSFNCCloudGoogleTasksTask);
void __fastcall AddTaskToList(TTMSFNCCloudGoogleTasksTaskList* ATaskList, TTMSFNCCloudGoogleTasksTask* ATask);

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.