Runtime creation of components (and tracking, using, and freeing them)
Posted on 2001-06-08
Okay, basicly I have a program that uses XML to store information about user set options. What I want to do is use TStringLists to track all the options. To do this the a section would be stored in StringListX and all subsections would be associate like so
Well what I get into is I need to create a unknown number of stringlists to accomidate any number sections the user might create.
My problem is this, I'm not all that firmiliar with runtime creation of Objects, Persistants, whatever.
What I would like to see is an example of how to a create a variable number of TStringLists during runtime and how I would go about accessing, and freeing them.