[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A dialog used for finding text within the current editor or text buffer
Source position: dialogs.pp line 355
type TFindDialog = class(TCommonDialog) |
||
protected |
||
|
||
|
||
|
||
|
||
|
||
FReplaceText: String; |
|
|
FFindText: String; |
|
|
procedure FindClick(); |
|
|
procedure HelpClick(); |
|
|
procedure CancelClick(); |
|
|
procedure UpdatePosition; |
|
|
procedure DoCloseForm(); virtual; |
|
|
procedure Find; virtual; |
|
|
procedure Help; virtual; |
|
|
procedure Replace; virtual; |
|
|
function CreateForm; virtual; |
|
|
procedure SetFormValues; virtual; |
|
|
procedure GetFormValues; virtual; |
|
|
property ReplaceText: String; [rw] |
|
|
property OnReplace: TNotifyEvent; [rw] |
|
|
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
|
|
procedure CloseDialog; |
|
|
function Execute; override; |
|
|
property Left: Integer; [rw] |
|
|
|
||
property Top: Integer; [rw] |
|
|
published |
||
property FindText: String; [rw] |
|
|
property Options: TFindOptions; [rw] |
|
|
property OnFind: TNotifyEvent; [rw] |
|
|
property OnHelpClicked: TNotifyEvent; [rw] |
|
|
end; |
|
A dialog used for finding text within the current editor or text buffer |
|
| | ||
|
TCommonDialog : the base type from which other dialogs are derived |
|
| | ||
TLCLComponent |
||
? | ||
TObject |
Opens a dialog box allowing the user to enter text for searching, for example in a text editor.
As TFindDialog is the parent class for the TReplaceDialog,
it contains definitions for the Replace method,
but the Replace option does not actually appear when the dialog is displayed:
you need to use TReplaceDialog to do that
|
A dialog allowing the user to replace text |
lazarus-ccr.sourceforge.net |