«« Site Rescued »»

While the site is still going to move from its current host, a new site will now take its place. More Info.

The new site may have less content, but the core will now remain. And it will now play nicely with phones! Keep an eye on the DelphiDabbler Blog for news.

» Help

How to empty a TImage

   

The first thing that comes to your mind is probably TImage.Picture.Free but I wouldn't recommend this :-) Not only will this actually empty the image but also free the memory associated with it. Uhm... What does this mean? That you will no longer be able to access the TImage.Picture object. It will no longer exist, it'll be gone (*puff*). The solution is more than simple:

Image1.Picture := nil;
Author: Unknown
Added: 2007-06-02
Last updated: 2007-06-02

« Return to contents »