Managing Multiple Instances of the Same Form
I am new at Delphi programming, so please bear with me. I am making
an applicatin in Delphi 1 which needs to display many images, etc.
Since they will all be processed the same, I have programmed a single
form to process all images, etc. I just call the form as many times
as I need when I need to display a new image. After I close one image
using the ".Free" or ".Release" methods, it closes as it should. The
other forms stay on the screen, but then when I try to close another
of them, I get a GP fault. I suppose, since I "Freed" the code, it
is no longer there to be "Freed." I guess what I need to do is to
create distinct instances of each form as it is created so that each
one is allocated its own memory so that they can be "Freed"
separately. But what is the general procedure for this? But more
basically, is this the right route to go? Are there more elegant ways
of dealing with this? I have rummaged around in the Delphi books, but
haven't found anything on managing multiple instances of the same
form. I would greatly appreciate any suggestions. If someone could
jsut point me to the proper procedures and general principles, that
would be great!
Aloha, Will Freeman.