Skip to main content
Table of Contents

TTMSFNCGanttTask.SetTaskStateByName Method

Assigns the task state whose name matches the specified value.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTask

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function SetTaskStateByName(AStateName: String): TTMSFNCGanttTaskState;
TTMSFNCGanttTaskState* __fastcall SetTaskStateByName(System::UnicodeString AStateName);

Parameters

Name Description
AStateName Name of the state to assign.

Returns

The matched state, or nil when no state with that name exists.