Click or drag to resize

RichEdit.Seek Method

X#
Search the rich edit for the specified text.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Seek(
	cText,
	oRange,
	lMatchCase,
	lWholeWord,
	lReturnRange,
	lSearchUp
) AS USUAL CLIPPER
Request Example View Source

Parameters

cText (Optional)
Type: Usual
The text for which to search.
oRange (Optional)
Type: Usual
The range of characters in which to search.
lMatchCase (Optional)
Type: Usual
A logical value that is TRUE if the search is case-sensitive. If omitted, the default is FALSE.
lWholeWord (Optional)
Type: Usual
A logical value that is TRUE if the search must match on a whole word. If omitted, the default is FALSE.
lReturnRange (Optional)
Type: Usual
A logical value that is FALSE if the return value will be the numeric character position of the found text or TRUE if it will be a Range object representing the range of characters in which the text was found. If omitted, the default is FALSE.
lSearchUp (Optional)
Type: Usual
If lSearchUp is TRUE, the search is from the end of the current selection to the beginning of the document. If lSearchUp is FALSE, the search is from the end of the current selection to the end of the document. If omitted the default is FALSE. For Rich Edit 1.0 the lSearchUp parameter is ignored. The search is always from the end of the current selection to the end of the document.

Return Value

Type: Usual
If lReturnRange is TRUE, the range of characters in which the text was found. If lReturnRange is FALSE, the character position where the text was found.
See Also