TdxDynamicItemList.FindItem(Integer) Method
Declaration
function FindItem(const AIndex: Integer): TdxDynamicListItem;
Parameters
Name | Type |
---|---|
AIndex | Integer |
Returns
Type |
---|
TdxDynamicListItem |
Remarks
This function is called internally by the CreateItem function and every time a list item is accessed via the Items property or its equivalent in TdxDynamicItemList class descendants.
The FindItem function returns the item located at the logical position within the list passed as the AIndex parameter. If the specified index corresponds to a gap within the list, the function returns nil.
See Also