🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Przeciazanie metod

#334860
From: Piotr S.
Date: Fri, 20 Jan 2012 11:56
19 lines
1668 bytes
W dniu 2012-01-19 20:35, aaaa pisze:
> Hej,
> Wczytuje sobie obrazek w moim formacie (TMojImage dziedzidzacy po
> TBitmap) do TPicture.
> Potem chce go zapisac. Odpalana jest metoda Assign.
> Dlaczego ponizsze odpala metode SaveToFile z TMojImage a nie z
> oryginalnego TBitmap?
>
> procedure TMojImage.Assign(Source: TPersistent);
> begin
> TBitmap(Graphics.TPicture(Source).Bitmap).SaveToFile('aaaaaaaaaa.bmp');
> end;
>
> Jak wymusic odpalenie SaveToFile z TBitmap?
>

A o słowie kluczowym inherited Pan słyszał ?

PS
Technical Details
Message-ID: <4f195675$0$1264$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <4f187072$0$1266$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Fri, 20 Jan 2012 12:56:36 +0100
From: "Piotr S." <sashxat@interia.pl>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
Newsgroups: pl.comp.lang.delphi
Subject: Re: Przeciazanie metod
References: <4f187072$0$1266$65785112@news.neostrada.pl>
In-Reply-To: <4f187072$0$1266$65785112@news.neostrada.pl>
X-Antivirus: avast! (VPS 120119-2, 2012-01-19), Outbound message
X-Antivirus-Status: Clean
Lines: 19
Message-ID: <4f195675$0$1264$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 79.189.48.194
X-Trace: 1327060597 unt-rea-a-02.news.neostrada.pl 1264 79.189.48.194:2648
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit