Table of Contents

TTMSFNCGanttTaskStates.GetStateByName Method

Returns the first task state with the specified name.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskStates

Syntax

function GetStateByName(AName: string): TTMSFNCGanttTaskState;

Parameters

Name Description
AName State name to find.

Returns

The matching task state, or nil when none matches.