Vcl.StdActns.TSearchReplace.BeforeExecute
Delphi
property BeforeExecute: TNotifyEvent read FBeforeExecute write FBeforeExecute;
C++
__property BeforeExecute;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TSearchReplace |
Description
Occurs immediately before the dialog appears. {{#multireplace:Vcl.StdActns.TSearchReplace.BeforeExecute|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdActns.TCommonDialogAction.BeforeExecute|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdActns.TCommonDialogAction.BeforeExecute|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs immediately before the dialog appears.
Write a BeforeExecute event handler to initialize the dialog immediately before it executes. When the action fires, it generates a BeforeExecute event, and then executes its associated dialog.