BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to properly close a dynamic form?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Robert Oschler
Guest





PostPosted: Thu Jan 29, 2004 4:35 pm    Post subject: How to properly close a dynamic form? Reply with quote



I have a Delphi 6 sp 2 DLL that creates a form dynamically.

This form is created and destroyed each time it is needed.

Should I call ".Close" on the form before calling FreeAndNil on it?

If I do call ".Close" before calling FreeAndNil, should I set the "Action"
parameter to caFree? Does it matter?

thx
--
Robert Oschler
http://www.dog-images.com -- Devoted to providing free info on the health,
nutrition, and training of dogs.



Back to top
Andrue Cope
Guest





PostPosted: Thu Jan 29, 2004 5:14 pm    Post subject: Re: How to properly close a dynamic form? Reply with quote



On Thu, 29 Jan 2004 11:35:39 -0500, Robert Oschler wrote:

Quote:
I have a Delphi 6 sp 2 DLL that creates a form dynamically.

Then you should be asking your question in the Delphi newsgroup sections
not the C++ Builder ones.
--
Andrue Cope
[Bicester UK]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.