Skip to main content

TdxSpreadSheetFindAndReplaceDialogForm Class

The form class that implements the “Find and Replace“ dialog in spreadsheet controls.

Declaration

TdxSpreadSheetFindAndReplaceDialogForm = class(
    TdxForm,
    IdxSpreadSheetListener,
    IcxLookAndFeelNotificationListener,
    IcxLookAndFeelNotificationListener2
)

Remarks

This dialog has the Find and Replace pages that include UI elements required to:

  • Search specific values in a spreadsheet document.

  • Customize search settings.

  • Preview search results and navigate between them.

  • Replace all or only a single found value within the selected search scope in a document.

The Find and Replace Dialog

The FindAndReplace end-user command calls the ShowFindAndReplaceDialog global procedure to invoke the Find and Replace dialog with the active Find page. The Ctrl+F and Ctrl+H keystrokes invoke the dialog with the active Find and Replace pages, respectively.

If you need to adjust or customize the Find and Replace dialog’s UI elements, derive a custom dialog form from the TdxSpreadSheetFindAndReplaceDialogForm class. Assign a reference to the custom dialog form class to the dxSpreadSheetFindAndReplaceDialogClass global variable to replace the standard dialog with a custom implementation.

See Also