Please help! I have a scenario in my app where I have the name of a class (as a string) and I need to pass the class as a parameter.
Below is an similar example. What needs to be done to resolve this?
AClassStringName := 'TLabel';
CreateControl(?????AClassStringName????, 'ANameForTheObject', 10, 10, 100, 200);