RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomBucketList.FindItem Method

Returns the location of an item in the bucket list.

Pascal
function FindItem(AItem: Pointer; out ABucket: Integer; out AIndex: Integer): Boolean; virtual;
C++
virtual __fastcall Boolean FindItem(void * AItem, int ABucket, int AIndex);

TCustomBucketList uses FindItem internally to locate items in the bucket list. 

AItem is the item to find in the bucket list. 

ABucket returns the index of the bucket that contains the item. 

AIndex returns the index of the item in the bucket specified by ABucket. 

FindItem returns true if AItem is in the bucket list, false otherwise. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!