bsalsa - Delphi tips, tricks, code snippets,Samples Component Search Engine.

The current search engine database includes about 5000 Delphi web sites and growing...

By pressing the button, you can add the Search engine to your iGoogle. Add to Google


Go Back   EmbeddedWB - bsalsa forum > General Category > General Discussion
Register FAQDonate Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-05-2010, 06:26 AM   #1
Toriza
Junior Member
 
Join Date: May 2010
Posts: 2
Aviod memory leak

Please, do so circulation to the interface was 'ControlInterface.Document as IHtmlDocument2;' but not 'Document as IHtmlDocument2;'
Toriza is offline   Reply With Quote
Old 07-29-2010, 02:59 PM   #2
bradhodgy
Junior Member
 
Join Date: Jul 2010
Posts: 4
UI controls that are added to a container shouldn't be deleted expilicitly when they are allocated with new but there is one thing to pay attention. It is mentioned in the "bada tutorial Ui and graphics":
"You must explicitly delete controls which do not get added to the container.
•Message Box, Popup, ContextMenu and OptionMenu controls do not get added to a container, so you have to explicitly delete them. "




__________________
[

Last edited by bsalsa; 07-29-2010 at 03:48 PM. Reason: spam
bradhodgy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +3. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
bsalsa@gmail.com