So, we can create a runtime component as such
var
MyComp: TDBGrid;
begin
MyComp:= TDBGrid.Create(Self);
......
How can I create a runtime component when the only thing
known is the classname?
So, for example, I could create a TLabel, then a TScrollbox and so on.
How to define MyComp? and how to create the component from a string holding the classname?
All components are visual.