Table of Contents

TTMSFNCGanttTaskStates.GetStateByPriorityLevel Method

Returns the first task state with the specified priority level.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskStates

Syntax

function GetStateByPriorityLevel(ALevel: Integer): TTMSFNCGanttTaskState;

Parameters

Name Description
ALevel Priority level to find.

Returns

The matching task state, or nil when none matches.