DesignIntf.IComponentEditor
Delphi
IComponentEditor = interface
C++
__interface INTERFACE_UUID("{ECACBA34-DCDF-4BE2-A645-E4404BC06106}") IComponentEditor : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
interface class |
public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | DesignIntf |
Description
IComponentEditor is the interface that the form designer uses to communicate with component editors.
When you create your own component editors, they must meet two criteria:
- They must be descendants of TBaseComponentEditor.
- They must implement the IComponentEditor interface.
The forms designer uses the methods on the IComponentEditor interface to interact with component editors.
Typically, component editors are derived from TComponentEditor, which supplies a default implementation for IComponentEditor, or TDefaultEditor, which also supplies a default implementation of the edit method to bring up an event handler in the edit window.
Note: C++ method declarations that use IComponentEditor use the _di_IComponentEditor type instead. This type is a DelphiInterface wrapper around the IComponentEditor interface:
typedef System::DelphiInterface< IComponentEditor > _di_IComponentEditor;