Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Misc > Re: Component R...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 149 of 251
Post > Topic >>

Re: Component Resource Usage

by Jamie <jamie_5_not_valid_after_5_Please@[EMAIL PROTECTED] > Oct 12, 2004 at 01:08 PM

are you setting the owner of the custom controls to the form?
and are you properlty freeing the custom controls?
  the form will first call all controls it has in the owner list
and free them first before it free's it self.


Francis wrote:

> I am using a custom button component in a test program and am
> wondering how to free the resources used by this component reliably?
> When testing the program in memproof I can see that GDI region
> resource count just continues to increase when I create and destroy
> the form that these buttons are on, even though I am using the create
> and free method for creating the form.
> 
> Any advice appreciated.
> 
> Francis
> 
> 
> Francis Brightman francisbrightman@[EMAIL PROTECTED]
> Web Designer
> http://www.rwfts.com
> Software for Blind Computer Users
 




 3 Posts in Topic:
Component Resource Usage
francisbrightman@[EMAIL P  2004-10-12 06:47:26 
Re: Component Resource Usage
Jamie <jamie_5_not_val  2004-10-12 13:08:49 
Re: Component Resource Usage
francisbrightman@[EMAIL P  2004-10-13 04:32:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:52:50 CDT 2008.