[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A dialog allowing the user to replace text.
Source position: dialogs.pp line 477
type TReplaceDialog = class(TFindDialog) |
||
protected |
||
function DefaultTitle; override; |
|
|
procedure ReplaceClick(); |
|
ReplaceClick - code to execute when the Replace button is clicked (replace just the current instance). |
procedure ReplaceAllClick(); |
|
ReplaceAllClick - code to execute when the Replace All button is clicked (replace all remaining instances). |
function CreateForm; override; |
|
CreateForm - function result returns the form that was created. |
procedure SetFormValues; override; |
|
SetFormValues - specifies the values for the form. |
procedure GetFormValues; override; |
|
GetFormValues - finds the values for the form. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
published |
||
property ReplaceText: string; |
|
ReplaceText - the text string that is to be substituted for the Find text. |
property OnReplace: TNotifyEvent; |
|
OnReplace - event handler for replacing text. |
end; |
|
A dialog allowing the user to replace text. |
|
| | ||
|
TFindDialog - a dialog used for finding text within the current editor or text buffer. |
|
| | ||
|
The base type from which other dialogs are derived. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TObject |
The dialog appears and offers boxes for the user to enter text for searching and text to replace it, for example while editing a file or large piece of text.
A number of buttons appear, offering the choice to replace this instance, find next, replace all.
|
TFindDialog - a dialog used for finding text within the current editor or text buffer. |