Skip to main content
Table of Contents

TTMSFNCGanttProject.GetTaskCountByTask Method

Returns the flattened project index for the specified task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttProject

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function GetTaskCountByTask(ATask: TTMSFNCGanttTask): Integer;
int __fastcall GetTaskCountByTask(TTMSFNCGanttTask* ATask);

Parameters

Name Description
ATask Task to locate.

Returns

The zero-based task index, or -1 when not found.