DesignEditors.TComponentEditor.Edit
Delphi
procedure Edit; virtual;
C++
virtual void __fastcall Edit();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignEditors.pas DesignEditors.hpp |
DesignEditors | TComponentEditor |
Description
Responds when the user double-clicks the component in the form designer.
The form designer calls Edit when the user double-clicks the component. Edit executes the first verb supplied by the component editor. That is, if GetVerbCount returns a value greater than zero, Edit calls
ExecuteVerb(0);
Override the Edit method to implement another response when the user double-clicks the component. For example, the Edit method can bring up a dialog or design expert.