TcxCustomListView.FindCaption(Integer,string,Boolean,Boolean,Boolean) Method
In This Article
Returns the item by the specified caption.
#Declaration
Delphi
#Parameters
Name | Type |
---|---|
Start |
Integer |
Value | string |
Partial | Boolean |
Inclusive | Boolean |
Wrap | Boolean |
#Returns
Type |
---|
TList |
#Remarks
The FindCaption method searched the Items of the list view control for an element with the specified caption. The parameters passed the FindCaption method specify the search options:
Parameter | Meaning |
---|---|
Start |
The index of the item, from which to begin search. |
Value | The string to search for (the search criteria) |
Partial | If True, the Caption matches if it starts with the substring Value. If False, the Caption must match Value exactly. |
Inclusive | If True, the item, specified by the Start |
Wrap | If True, the search continues at the top of the list if a match has not been found before reaching the bottom. |
The FindCaption method returns the first located item. If no item is found, the FindCaption returns nil.
See Also