[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TFindDialog.Replace

Signals the OnReplace event handler when the Replace button is clicked on the dialog form.

## Declaration

Source position: dialogs.pp line 490

`protected procedure TFindDialog.Replace; virtual;`

## Description

Replace is introduced in TFindDialog, but it is used in the implementation of the TReplaceDialog descendant.

## See also

TFindDialog.OnReplace |  | Event handler signalled to replace occurrence(s) of FindText with the value in ReplaceText.
TFindDialog.ReplaceText |  | String with the value used to replace the value in FindText.
TReplaceDialog.ReplaceText |  | String with the value used to replace the value in FindText.
TReplaceDialog.OnReplace |  | Event handler signalled to replace occurrence(s) of FindText with the value in ReplaceText.
TReplaceDialog.ReplaceClick |  | ReplaceClick - code to execute when the Replace button is clicked (replace just the current instance).
TReplaceDialog.ReplaceAllClick |  | ReplaceAllClick - code to execute when the Replace All button is clicked (replace all remaining instances).
TReplaceDialog.CreateForm |  | Gets the form instance displayed when dialog is executed.