Runtime creation of Delphi Firemonkey components from a string

  

How can i create at runtime a visual component as a child of the form using eventually RTTI?
All i got is a TValue instance…

t := (ctx.FindType(Edit1.Text) as TRttiInstanceType);
inst:= t.GetMethod(‘Create’).Invoke(t.MetaclassType,[Form1]);

Thank you!

Comments are closed.