Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShowFindAndReplaceDialog(TdxCustomSpreadSheet,Integer) Method

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

#Declaration

Delphi
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