🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15666

Re: MDI Forms and when to free memory.

#15666
From: Remy Lebeau (TeamB)
Date: Fri, 20 Jun 2003 06:36
13 lines
1312 bytes
"Jerel Thompson" <nobody@hotmail.com> wrote in message
news:3ef28f7a$1@newsgroups.borland.com...

> I'm unsure of when/where I should be deleting
> the memory once the form is closed?

Assign an OnClose event handler to the child form, and in that handler set
the Action parameter to caFree.  When the child form is closed, it will then
free its own memory for you.


Gambit
Technical Details
Message-ID: <3ef2aa88$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ef28f7a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3101dd652c0854a9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-19 23:39:54 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef28f7a$1@newsgroups.borland.com>
Subject: Re: MDI Forms and when to free memory.
Date: Thu, 19 Jun 2003 23:36:39 -0700
Lines: 15
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: 207.175.226.26
Message-ID: <3ef2aa88$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056090760 207.175.226.26 (19 Jun 2003 23:32:40 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail