I have a TImage component (Logo) on a form and I'm loading a GIF image from a resource.  I'm using the RxGIF library.  I have the resource compiled into the EXE successfully and I have it working as follows:
 
Logo.Picture.Graphic := TGIFImage.Create;
TGIFImage(Logo.Picture.Graphic).LoadFromResourceName(hInstance, 'Logo', 'GIF');
This is working fine, however, I just want to check that the TGIFImage will be freed automatically by the form when the program closes.  I presume it will but just checking.
 
 
Cheers,
 
Ross Levis
 
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to