🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #334563

Re: kto niszczy te bitmape ???

#334563
From: Zeman
Date: Tue, 03 Jan 2012 22:29
24 lines
1353 bytes
W dniu 2012-01-03 13:57, neuron pisze:
> mam funkcje
>
> function GetG:TBitMap;
> begin
>   try
>   // tu tworze okno ale go nie pokazuje F
>    result:= TBitMap.create;
>    result:= F.GetFormImage;
>   finally
>     F.free;
>   end;
> end;
>
>

Witam.

Czy ja juz jestem jakis zmeczony i cos zle widze, czy tu jest utworzenie 
bitmapy creatorem i przypisanie do Result i za chwile zgubienie 
referencji do niej przez ponowne nadpisanie Result? To tak ma byc?

Pozwiodronka,
Zeman.
Technical Details
Message-ID: <jdvvfj$99b$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <jdutt9$562$1@mx1.internetia.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Zeman <tereefreqq@baba.strzela.z.luku>
Newsgroups: pl.comp.lang.delphi
Subject: Re: kto niszczy te bitmape ???
Date: Tue, 03 Jan 2012 23:29:03 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 24
Message-ID: <jdvvfj$99b$1@inews.gazeta.pl>
References: <jdutt9$562$1@mx1.internetia.pl>
NNTP-Posting-Host: 178-36-99-231.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1325629747 9515 178.36.99.231 (3 Jan 2012 22:29:07 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Tue, 3 Jan 2012 22:29:07 +0000 (UTC)
X-User: zemanpg
In-Reply-To: <jdutt9$562$1@mx1.internetia.pl>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit