Table of Contents

TTMSFNCTableViewCategories.ItemIndexById Method

Returns the collection index of the category with the given identifier.

API unit family: TMSFNCTableView Declaring type: TTMSFNCTableViewCategories

Syntax

function ItemIndexById(id: integer): integer;

Parameters

Name Description
id Identifier of the category to find.

Returns

Zero-based index of the matching category, or -1 when not found.