JVCL Help:TJvCustomRichEdit.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

 TRichEditFindErrorEvent = procedure (Sender: TObject; constFindText: string) ofobject;
propertyOnTextNotFound: TRichEditFindErrorEvent;


Parameters

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


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