Hi,
How can I add a component instance to a datamodule or form ?
I know these 2:
procedure AddComponent(const NewRegisteredComponent: TRegisteredComponent;
const NewComponentClass: TComponentClass;
const NewParent: TComponent;
const NewLeft,NewTop,NewWidth,NewHeight: Integer); virtual; abstract;
procedure AddComponentCheckParent(var NewParent: TComponent;
const OriginComponent: TComponent; const OriginWinControl: TWinControl;
const NewComponentClass: TComponentClass); virtual; abstract;
But they are not suitable for my purpose. The component instance is already
created
in memory. I just need to be able to "put it on the form".
Michael.
--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus