Table of Contents

TTMSFNCDigitalTimeSelector.FindItemByTime Method

Returns the item index corresponding to the given time value, or -1 if not found.

API unit family: TMSFNCDigitalTimeSelector Declaring type: TTMSFNCDigitalTimeSelector Inherited from: TTMSFNCCustomDigitalTimeSelector

Syntax

function FindItemByTime(ATime: TTime): Integer;

Parameters

Name Description
ATime The time value to search for.

Returns

The zero-based item index, or -1 when the time is not present.