function GetComponent(Owner, Parent: TComponent): TComponent;
System::Classes::TComponent* __fastcall GetComponent(System::Classes::TComponent* Owner, System::Classes::TComponent* Parent);
Retrieves a component from the clipboard.
Use GetComponent to retrieve a component that is stored on the clipboard.
Owner becomes the owner of the retrieved component and Parent becomes its parent. Owner is usually a form, but both parameters can be nil (Delphi) or NULL (C++).
Before a class is read from the clipboard, it must be registered by a call to RegisterClasses. If you try to read an unregistered class, you'll get an EClassNotFound exception.