Table of Contents

TTMSFNCCustomPlanner.FindFirstItem Method

Finds the first item in the specified time range and position.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

function FindFirstItem(AStartTime, AEndTime: TDateTime; APosition: Integer): TTMSFNCPlannerItem; virtual;

Parameters

Name Description
AStartTime Start date and time of the range.
AEndTime End date and time of the range.
APosition Visible position index to search.

Returns

The first matching planner item, or nil when no item matches.