Table of Contents

TTMSFNCPlannerData.FindResourceIndexByName Method

Returns the zero-based index of the resource with the given Name, or -1 when not found.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerData

Syntax

function FindResourceIndexByName(AName: String): Integer; virtual;

Parameters

Name Description
AName The resource name to search for.

Returns

The zero-based resource index, or -1 when no resource has the specified name.