Table of Contents

TTMSFNCMemoSources.IndexOf Method

Returns the zero-based index of the source whose Name matches the specified string, or -1 if not found.

API unit family: TMSFNCMemo Declaring type: TTMSFNCMemoSources

Syntax

function IndexOf(Name: string): Integer; overload;

Parameters

Name Description
Name Name of the source buffer to locate.

Returns

Zero-based index of the matching source, or -1 if no match exists.