Article View: borland.public.cppbuilder.deployment
Article #331Re: problem with TForm destructor?
From: Hern�n Tornielli
Date: Mon, 09 Aug 2004 17:21
Date: Mon, 09 Aug 2004 17:21
19 lines
1309 bytes
1309 bytes
"Gordon Fenton" wrote:
> void __fastcall TForm1::FileExitExecute(TObject *Sender)
> {
> exit(0);
> }
Just close the main form to exit the program:
void __fastcall TForm1::FileExitExecute(TObject *Sender)
{
Close();
}
Also note that your question relates to the use of VCL components so would be
better asked in .vcl.components.using. For newsgroup descriptions and
guidelines, see http://info.borland.com/newsgroups/
Hernan Tornielli
Technical Details
Message-ID:
<4117b220@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<411771ab@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f8e54,c855eac9f4c97bd6 X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Hern�n Tornielli" <hernan@nospam.net> Newsgroups: borland.public.cppbuilder.deployment References: <411771ab@newsgroups.borland.com> Subject: Re: problem with TForm destructor? Date: Mon, 9 Aug 2004 14:21:30 -0300 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 200.59.52.214 Message-ID: <4117b220@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092071968 200.59.52.214 (9 Aug 2004 10:19:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail