[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdActns' (#lcl)

# TSearchAction

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TSearchAction - base class for the actions associated with the various Search menu options

## Declaration

Source position: stdactns.pas line 293

`type TSearchAction = class(TCommonDialogAction)`
`protected`
`FControl: TCustomEdit;` |  | FControl - local variable holding the control for use with this action
`procedure CreateDialog; override;` |  | CreateDialog - method for creating the dialog
`procedure Notification(); override;` |  |
`procedure UpdateControl();` |  | UpdateControl - brings the control performing the action up to date
`function PerformSearch;` |  | PerformSearch - returns True if the search is to be performed
`procedure ShowNotFound; virtual;` |  | ShowNotFound - method to display the 'Not Found' message
`public`
`constructor Create(); override;` |  |
`destructor Destroy; override;` |  |
`function HandlesTarget(); override;` |  |
`procedure Search(); virtual;` |  | Performs the Search
`procedure UpdateTarget(); override;` |  |
`procedure ExecuteTarget(); override;` |  |
`end;`

## Inheritance

`TSearchAction` |  | TSearchAction - base class for the actions associated with the various Search menu options
`TCommonDialogAction` |  | TCommonDialogAction - base class for providing actions associated with Dialogs
`TCustomAction` |  | TCustomAction is the ancestor class for TAction
`TContainedAction` |  | TContainedAction - parent class for TCustomAction; defines some properties especially relationships with parents
`TBasicAction`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net.