DesignEditors.TComponentEditor.Component

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Component: TComponent read FComponent;

C++

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

Properties

Type Visibility Source Unit Parent
property public
DesignEditors.pas
DesignEditors.hpp
DesignEditors TComponentEditor

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