ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamFilePreview.TJamFilePreview.SelectString

Only supported in the TextPreviewHandler, where each occurrence of the given string is highlighted and the first match focussed.

Syntax
Pascal
function SelectString(const pString: string; const pOptions: TSelectionOptions): integer;
Parameters 
Description 
const pString: string 
The text to highlight. 
const pOptions: TSelectionOptions 
Highlighting options. 

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