aSearchString  Property

A array contains strings which will be searched.

Object.aSearchString = array

Return Value

Array
If the array  has one column, then each cell contains string will be searched. If the array  has row column, then first column contains string will be searched and second column contains instance of _xfrxfsettings class.

Background color will be yelow  (default color - see to FindColor Property)


Remarks

XFRX version: 21.0
Applies To: oDisplayDefaults Object

Example

Simply list of words
WITH loPreview.oDisplayDefaults 
*.FindColor = RGB(1,185,224)
DIMENSION .aSearchString(2)
.aSearchString(1)="first"
.aSearchString(2)="word"
ENDWITH


List of words and colors

WITH loPreview.oDisplayDefaults 
*.FindColor = RGB(1,185,224)
DIMENSION .aSearchString(2, 2)
.aSearchString(1, 1)="first"
.aSearchString(1, 2)=CREATEOBJECT("_xfrxfsettings")
.aSearchString(2, 1)="T*a*"
.aSearchString(2, 2)=CREATEOBJECT("_xfrxfsettings")
.aSearchString(2, 2).lUseWildCards=.T.
ENDWITH