JVCL Help:TJvCustomRichEdit.OnCloseFindDialog

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 Find Text or Replace Text dialog box closes.


Pascal

 TRichEditFindCloseEvent = procedure (Sender: TObject; Dialog: TFindDialog) ofobject;
propertyOnCloseFindDialog: TRichEditFindCloseEvent;


Parameters

Parameters Description
Dialog Specifies the Find Text or Replace Text dialog box.
Sender Rich Edit control that has fired this event.


Description

Write an OnCloseFindDialog event handler to perform special processing when the Find Text or Replace Text dialog box closes.
The Find dialog can be displayed by a call to FindDialog. The Replace Text dialog can be displayed by a call to ReplaceDialog.
Example: procedure TForm1.JvRichEdit1CloseFindDialog(Sender: TObject; Dialog: TFindDialog);
begin

 with JvRichEdit1 do
if CanFocus then
SetFocus;
end;


See Also

TJvCustomRichEdit.CanFindNext, 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