Skip to main content

ShowFindAndReplaceDialog(TdxCustomSpreadSheet,Integer) Method

Invokes the “Find and Replace“ dialog for a specified spreadsheet control.

Declaration

procedure ShowFindAndReplaceDialog(ASpreadSheet: TdxCustomSpreadSheet; const AActivePage: Integer = 0);

Parameters

Name Type Description
ASpreadSheet TdxCustomSpreadSheet

The target spreadsheet control.

AActivePage Integer

The active page index.

Remarks

Call this procedure and pass a target spreadsheet control as the ASpreadSheet parameter to invoke the Find and Replace dialog. Pass 1 as the AActivePage parameter to display the dialog with the active Replace page instead of the Find page.

The Find and Replace Dialog

The Ctrl+F and Ctrl+H keystrokes invoke the Find and Replace dialog with the active Find or Replace pages, respectively.

You can assign a reference to a TdxSpreadSheetFindAndReplaceDialog class descendant to replace the default Find and Replace dialog.

See Also