Vcl.StdActns.TSearchFindFirst.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TSearchFindFirst(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TSearchFindFirst |
Description
Creates and initializes an instance of TSearchFindFirst.
Most applications do not need to call the TSearchFindFirst constructor because actions are added at design time to an action manager or action list.
The TSearchFindFirst constructor creates an instance of its associated dialog and assigns that component as the value of the Dialog property. It then assigns the Search method as an event handler for the dialog's OnFind event, so that the action responds automatically when user's direct the dialog to search for a specified text string.
AOwner specifies the Owner for the action. This is the component that is responsible for freeing the TSearchFindFirst instance.