RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentEditor.Component Property

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

Pascal
property Component: TComponent;
C++
__property TComponent * Component;

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.
 

create 

Designer 

Modified

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!