Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

A array contains strings for highlight.

Object.aSearchString = array

Return Value

Array
 The array  can has one column - than  background color will be yelow for all strings. Or can has two columns - than second column contains instance of _xfrxfsettings class.

Remarks

XFRX version: 19.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 
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
  • No labels