Skip to main content

TcxMRUItems.IndexOf(TcxMRUItem) Method

Determines the position (index) of an item within the current MRU list.

Declaration

function IndexOf(AItem: TcxMRUItem): Integer;

Parameters

Name Type
AItem TcxMRUItem

Returns

Type
Integer

Remarks

Call the IndexOf function to determine the position (index) of the item specified by the AItem parameter within the current MRU list. This function returns -1 when the specified item does not exist within the current MRU list.

See Also