TTMSFNCGanttTaskStates Class
Collection of task states available to a project.
API unit family: TMSFNCGanttClasses
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCGanttTaskStates = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Task state at the specified zero-based index. |
Methods
| Name | Description |
|---|---|
| Add | Adds a new task state to the collection. |
| AddState | Adds a task state using one base color for fill and stroke. |
| AddStateWithStrokeColor | Adds a task state with separate fill and stroke colors. |
| GetStateByName | Returns the first task state with the specified name. |
| GetStateByPriorityLevel | Returns the first task state with the specified priority level. |
| GetStateIndexByPriorityLevel | Returns the index of the first task state with the specified priority level. |
| Insert | Inserts a task state at the specified index. |