DesignIntf.IComponentEditor.GetComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetComponent: TComponent;

C++

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

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IComponentEditor

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