Skip to main content
Table of Contents

TTMSFNCPlanner.FindFirstItem Method

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

API unit family: TMSFNCPlanner Declaring type: TTMSFNCPlanner Inherited from: TTMSFNCCustomPlanner

Syntax

FMX.TMSFNCPlanner.hppPascalC++
function FindFirstItem(AStartTime, AEndTime: TDateTime; APosition: Integer): TTMSFNCPlannerItem; virtual;
virtual TTMSFNCPlannerItem* __fastcall FindFirstItem(System::TDateTime AStartTime, System::TDateTime AEndTime, int APosition);

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.