API:DesignEditors.TDefaultEditor.Edit
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: public | |
| Source: DesignEditors.pas DesignEditors.hpp
| |
| Unit: DesignEditors | |
| Parent: TDefaultEditor | |
Delphi
procedure Edit; override;
C++
virtual void __fastcall Edit();
Description
Responds when the user double-clicks the component in the form designer.
DesignEditors.TDefaultEditor.Edit inherits from DesignEditors.TComponentEditor.Edit. All content below this line refers to DesignEditors.TComponentEditor.Edit.
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.