RAD Studio VCL Reference
|
Creates an instance of the component that is currently selected on the component palette.
function CreateCurrentComponent(Parent: TComponent; const Rect: TRect): TComponent;
__fastcall TComponent * CreateCurrentComponent(TComponent * Parent, const TRect Rect);
Call CreateCurrentComponent to create an instance of the component that is selected on the component palette.
Parent is the parent of the newly created component.
Rect specifies the boundaries of the newly created component.
CreateCurrentComponent returns the new component instance.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|