ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamFilePreview.IPreviewHighlightable.SelectString

Tells the previewhandler to highlight the passed string.

Syntax
Pascal
function SelectString(const pPhrase: string; const pOptions: TSelectionOptions): integer;
Parameters 
Description 
const pPhrase: string 
The search phrase to highlight. 
const pOptions: TSelectionOptions 
Highlighting options to use. 

The character position of the first match; -1 if it was not found.