DesignEditors.TComponentEditor.Component

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
DesignEditors.pas
DesignEditors.hpp
Unit: DesignEditors
Parent: TComponentEditor

Delphi

property Component: TComponent read FComponent;

C++

__property System::Classes::TComponent* Component = {read=FComponent};

Description

Provides access to the component in the form designer that uses this component editor.

Use Component to read from and make changes to the component associated with the component editor. A component editor is created for each instance of the registered component class when it is selected in the form designer. Component is the selected instance.

Note: When the component editor makes changes to the component, it must call the Modified method of the form designer that is specified by the Designer property.

See Also