DesignEditors.TComponentProperty.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 TComponentProperty

Description

Responds when the user double-clicks the property in the Object Inspector.

DesignEditors.TComponentProperty.Edit inherits from DesignEditors.TPropertyEditor.Edit. All content below this line refers to DesignEditors.TPropertyEditor.Edit.

Responds when the user double-clicks the property in the Object Inspector.

The Object Inspector calls Edit when the ellipsis button (...) is pressed or the property is double-clicked. The Edit method of TPropertyEditor cycles through the possible enumerated values of the property when the GetValues method returns one or more property strings to the callback method.

Override the Edit method to implement a response to the ellipsis button or double-clicking the property. For example, use the Edit method to bring up a dialog for editing the property in some more meaningful fashion than typing a text value in the Object Inspector.

See Also