[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled to replace occurrence(s) of FindText with the value in ReplaceText.
Source position: dialogs.pp line 496
protected property TFindDialog.OnReplace : TNotifyEvent |
An application must implement and assign a TNotifyEvent handler routine to OnReplace which responds to the event notification.
The Sender argument contains the object instance with the TFindDialog or descendant for the event notification. It can be cast to a TFindDialog or a TReplaceDialog type to access properties and methods in the dialog class, including: FindText, ReplaceText, and Options.
OnReplace is introduced in TFindDialog, but it is used in the implementation of the TReplaceDialog descendant. Use TReplaceDialog when the additional controls and buttons implemented in the replace dialog are needed.
|
Contains the text to locate when the Find button is clicked on the dialog form. |
|
|
String with the value used to replace the value in FindText. |
|
|
Event handler signalled to replace occurrence(s) of FindText with the value in ReplaceText. |
|
|
String with the value used to replace the value in FindText. |
|
|
Event handler signalled to replace occurrence(s) of FindText with the value in ReplaceText. |
|
|
Gets the form instance displayed when dialog is executed. |
Version 4.0 | Generated 2025-05-03 | Home |