Skip to main content
Table of Contents

TTMSFNCGanttTaskStates.GetStateByName Method

Returns the first task state with the specified name.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskStates

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function GetStateByName(AName: string): TTMSFNCGanttTaskState;
TTMSFNCGanttTaskState* __fastcall GetStateByName(System::UnicodeString AName);

Parameters

Name Description
AName State name to find.

Returns

The matching task state, or nil when none matches.