In Reply to How to create Delphi Object given its name and class name? Hello,I did not follow/learn the above url. But maybe you need to store all of the created forms in a list (TList)? Also, if you have a class-reference, you can always create a new instance of that
class. In
addition, any object has a ClassType property, so if you have an instance of a class, you can get its class-
reference. Sometimes, it's only required to make a type-cast first such as: The above examples are just what I usually do on my own applications. Hope that helps. Sincerely, |