Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

IndexOfEntry method

Project: Resource File Unit

Unit: PJResFile.

Class: TPJResourceFile

Applies to: ~>1.0

function IndexOfEntry(const Entry: TPJResourceEntry): Integer;

Gets the index number of a resource entry in the resource file’s Entries property.

Parameter:

Returns:

The index of the resource entry in the Entries property or -1 if not found.