Re: Timage - how do I clean?

Kenneth Wilcox <[email protected]> Thu, 29 Aug 2002 09:44:46 -0600
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
Pict1.Picture := nil;

Ken

At 11:58 AM 08/29/02 -0300, you wrote:
>Hi All,
>
>I use a TImage to show pictures of a given record dinamicaly. The user
>gives the rec_num, then using a code like this:
>
>
>         pict := '/home/toshyro/pics/' + IntToStr(rec_num) + '.png';
>         Pict1.Picture.LoadFromFile(foto);
>
>the picture appears.
>
>How do I "clean" the Timage (i.e. when the form is cleaned)?
>
>Thanks
>
>--
>|-----------------------------------------------------------------------|
>     .^.   TOSHYRO - Luiz Fernando Ferreira <[email protected]>
>     /v\     SULTEC VISTORIAS
>    // \\     Setor de Informática: Desenvolv. e Adm. Rede
>   /( . )\       Av. Prof. Oscar Pereira, 1463 - B. Glória - POA/RS
>    ^`~'^        Fone: (51) 3217-0600 r.247 - (51) 9814-3866
>|-----------------------------------------------------------------------|
>                         Powered by Slackware Linux
>
>
>
>-------------------------------------------------------
>Forum / mailing list for Borland Kylix programmers
>Our web page:  http://groups.yahoo.com/group/kylixgroup
>To join the forum: [email protected]
>To unsubscribe:  [email protected]
>To post your messages:       [email protected]
>To contact the moderator:  [email protected]
>-------------------------------------------------------
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/