Table of Contents

TTMSFNCCustomPlanner.FindNextItem Method

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

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

function FindNextItem(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 next matching planner item, or nil when no further item matches.