kartheterrible
Programmer
I have an applcation using frames. I'd like to be able to add multiple instances of the same frame during runtime. I do not know how many frames I will need in advance, as that number is computed during runtime.
If I try to use the "new" operator and add more than one instance of a frame (say TFrame1), my app throws an exception. So how do I get around thsi problem?
One hack is to overestimate the number of frames at design time and hide the extra ones. Of course this is isnt my preferred design as its bound to break at some point.
Any ideas? Thanks a lot
K
If I try to use the "new" operator and add more than one instance of a frame (say TFrame1), my app throws an exception. So how do I get around thsi problem?
One hack is to overestimate the number of frames at design time and hide the extra ones. Of course this is isnt my preferred design as its bound to break at some point.
Any ideas? Thanks a lot
K