Sign in Join
FPDoc Onlineexperiment

TFindDialog.OnFind property

Member of TFindDialogpublishedIn unit Dialogs

Event handler signalled when the Find button is clicked on the dialog form.

Declaration

pascal
property OnFind: TNotifyEvent read FOnFind write FOnFind;

Description

OnFind is a TNotifyEvent property with the event handler signalled to perform the find operation for the dialog. OnFind is signalled (when assigned) from the Find method, and occurs when the Find button is clicked on the dialog form.

An application must implement and assign a handler routine to the property to respond to the event notification.

The Sender argument is the object instance for the event notification. It can be cast to TFindDialog (or TReplaceDialog in the descendent class) to access the properties and methods in the dialog class instance. Use its FindText and Options properties to perform the actions needed in the handler routine.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.