TTMSFNCGanttTask.SetTaskStateByName Method
Assigns the task state whose name matches the specified value.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttTask
Syntax
function SetTaskStateByName(AStateName: String): TTMSFNCGanttTaskState;
Parameters
| Name | Description |
|---|---|
AStateName |
Name of the state to assign. |
Returns
The matched state, or nil when no state with that name exists.