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

TSearchReplace

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

TSearchReplace - action associated with the Search and Replace menu option and dialogs

Declaration

Source position: stdactns.pas line 332

type TSearchReplace = class(TSearchAction)

protected

  function GetDialogClass; override;

  

GetDialogClass - returns the class of dialog associated with this action

  procedure CreateDialog; override;

  

CreateDialog - method for creating the dialog

public

  procedure Replace(); virtual;

  

Replace - the method to perform the Replace action once the specified text has been found

published

  property Caption;

  

The Caption to be used if this action is associated with a visible component

  property Dialog: TReplaceDialog; [r]

  

The ReplaceDialog to be used with this action

  property Enabled;

  

Enabled - whether this action is able to be used (default True)

  property HelpContext;

  

HelpContext - the index for a context-based help message

  property HelpKeyword;

  

HelpKeyWord - the keyword of a context-based help message

  property HelpType;

  

HelpType - the sort of help message to be offered: default Context-based

  property Hint;

  

Hint - a pop-up message that appears when the mouse hovers over an object

  property ImageIndex;

  

ImageIndex - the index number of the image to be associated with this action

  property ShortCut;

  

ShortCut - an index to a shortcut list

  property SecondaryShortCuts;

  

SecondaryShortCuts - a stringlist containing shortcuts

  property Visible;

  

Visible - is this action visible? (default True)

  property BeforeExecute;

  

BeforeExecute - event handler for performance before execution of the action

  property OnAccept;

  

OnAccept - event handler for a press of the Accept button

  property OnCancel;

  

OnCancel - event handler for a press of the Cancel button

  property OnHint;

  

OnHint - action to be taken when a hint is required

end;

Inheritance

TSearchReplace

  

TSearchReplace - action associated with the Search and Replace menu option and dialogs

|

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

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

TObject

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