Skip to main content
Table of Contents

TTMSFNCGanttTaskStates.GetStateByPriorityLevel Method

Returns the first task state with the specified priority level.

API unit family: TMSFNCGanttClasses Declaring type: TTMSFNCGanttTaskStates

Syntax

FMX.TMSFNCGanttClasses.hppPascalC++
function GetStateByPriorityLevel(ALevel: Integer): TTMSFNCGanttTaskState;
TTMSFNCGanttTaskState* __fastcall GetStateByPriorityLevel(int ALevel);

Parameters

Name Description
ALevel Priority level to find.

Returns

The matching task state, or nil when none matches.