[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A dialog allowing the user to replace text
Source position: dialogs.pp line 427
type TReplaceDialog = class(TFindDialog) |
||
protected |
||
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; |
|
Create - constructor for TReplaceDialog: calls inherited Create and sets options for find and replace |
published |
||
property ReplaceText; |
|
ReplaceText - the text string that is to be substituted for the Find text |
property OnReplace; |
|
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 |
|
| | ||
|
TCommonDialog : the base type from which other dialogs are derived |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
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 |
lazarus-ccr.sourceforge.net |