Can someone explain me what is the right
technic to create a form at runtime.
I mean, I want to check before if the
form already exists and if it's the case
show the one that already exists.
If assigned is not working because
when you close the form the pointer is not nilled out.
You can overide the destroy and add the
pointer:=nil in it. But I don't like it
You can also use a try catch and try to
call a method of the form. If the form does not
exist then you will get an exception.
The clean way I found was to check
in the screen.forms list if my form
does already exist. But for that you
need to know the exact name of the
form when you do it.
How are you doing it guys ?
Thanks for your advices.