JVCL Help:TJvRichEdit.OnTextNotFound

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the text entered by a user in a Find or Replace dialog could not be found.


Pascal

 propertyOnTextNotFound: TRichEditFindErrorEvent;


Parameters

Parameters Description
Sender Rich Edit control that has fired this event.
FindText Specifies the text the user entered.


Description

Write an OnTextNotFound event handler to respond when the text entered by a user - specified by parameter FindText - in a Find or Replace dialog could not be found.
Example: procedure TForm1.JvRichEdit1TextNotFound(Sender: TObject;

 constFindText: string);
begin
MessageDlg(Format('Text "%s" not found.', [[[JVCL_Help:TJvCustomRichEdit.FindText|FindText]]]), mtWarning, [mbOK], 0);
end;


See Also

TJvCustomRichEdit.FindDialog, TJvCustomRichEdit.ReplaceDialog


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page