DesignEditors.TPropertyEditor.Edit

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TPropertyEditor

Delphi

procedure Edit; virtual;

C++

virtual void __fastcall Edit();

Description

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