JVCL Help:IJvDataConsumerViewList.IndexOfID

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Locates an item by ID and return its index in the view list.


Pascal

 functionIndexOfID(ID: TJvDataItemID): Integer;


Parameters

Parameters Description
ID: TJvDataItemID ID of the item to locate.


Description

IndexOfID will locate an item given its ID. The value returned is the 0-based index of the item in the view list. If the item is not found the method will return -1.


See Also

IJvDataConsumerViewList.ChildIndexOfID, IJvDataConsumerViewList.IndexOfItem


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page