Table of Contents

TTMSFNCGanttProject.GetTaskCountByTask Method

Returns the flattened project index for the specified task.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttProject

Syntax

function GetTaskCountByTask(ATask: TTMSFNCGanttTask): Integer;

Parameters

Name Description
ATask Task to locate.

Returns

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