DesignIntf.IComponentEditor.GetComponent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IComponentEditor

Delphi

function GetComponent: TComponent;

C++

virtual System::Classes::TComponent* __fastcall GetComponent() = 0 ;

Description

Returns a reference to the component on which the editor operates.

A component editor is created for each instance of the registered component class when it is selected in the form designer. GetComponent returns the selected instance. This component is associated with a component editor through its constructor.

See Also