RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IComponentEditor.GetComponent Method

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

Pascal
function GetComponent: TComponent;
C++
__fastcall TComponent * GetComponent();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!