RE: Timage - how do I clean?

"Tommy Baitz" <[email protected]> Thu, 29 Aug 2002 10:56:16 -0400
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
I would create a very small blank .png file and load it.

-----Original Message-----
From: TOSHYRO (Luiz Fernando Ferreira Filho)
[mailto:[email protected]]
Sent: Thursday, August 29, 2002 10:58 AM
To: Kylix Group
Subject: [KylixGroup] Timage - how do I clean?


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/