ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.BaseShellListView.TJamBaseShellListView.FindCaption

Returns a list view item, if any, with the specified caption. See TCustomListView.FindCaption

Syntax
Pascal
function FindCaption(StartIndex: Integer; Value: string; Partial: Boolean; Inclusive: Boolean; Wrap: Boolean): TListItem; virtual;
Parameters 
Description 
StartIndex: Integer 
If the Inclusive parameter is true, the list item specified by StartIndex is the first item checked. Otherwise, the search starts on the next item. 
Value: string 
The value to find. 
Partial: Boolean 
If the Partial parameter is true, a Caption matches if it starts with the substring Value. If Partial is false, the Caption must match Value exactly. 
Inclusive: Boolean 
If the Inclusive parameter is true, the list item specified by StartIndex is the first item checked. Otherwise, the search starts on the next item. 
Wrap: Boolean 
If the Wrap parameter is true, the search continues at the top of the list if a match has not been found before reaching the bottom. 

The first matching TListItem or nil if nothing was found.