IReportBox.FindReplace

Syntax

FindReplace(

Replace: Boolean;

FindString: String;

[ReplaceString: String=""];

[InFormula: Boolean=False];

[CaseSensitive: Boolean=False];

[WholeWordsOnly: Boolean=False]);

Parameters

Replace determines active tab on opening the dialog box. If the property is set to True, the Replace tab is active on opening dialog box.

FindString - string to be searched.

ReplaceString - string to be replaced.

InFormula - the parameter that determines search scope. If the parameter is set to True, the search is formula-based.

CaseSensitive - the parameter that determines the state of the Match Case option.

WholeWordsOnly - the parameter that determines the state of the Whole Cell option.

Description

The FindReplace method activates the find and replace window in the regular report. The method is outdated, use the IReportBox.FindReplaceEx method.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Begin

ReportBox1.FindReplace(False,"","",False,True,True);

End Sub Button1OnClick;

After executing the example and pressing the button a search dialog box is activated in the regular report. The Match Case and Whole Cell options are enabled.

See also:

IReportBox