API:DesignEditors.TDefaultEditor.Edit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Edit; override;

C++

virtual void __fastcall Edit();

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TDefaultEditor

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.

See Also