Re: Delphi 4 basic, loading a picture from an internet address
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Apr 2005 20:28:05 +0200
"Endoscope" <looking@xxxxxxxxxx> wrote in message
news:WnO9e.10$vU4.9@xxxxxxxxxxxxxxxxxxxxxxx
> Say I have an image on a form. Is there a way I can write something
> like Image1.Picture:='http://www.somewhere.com/picture.jpg'; and have
> it work?
Feed the URL to an HTTP client component. It knows how to retrieve the
resource. If the component can give you the data as a stream, you can
load the image from it directly; if it can only load into a buffer,
you'll have to set up your own TMemoryStream or temporary file or some
such.
Groetjes,
Maarten Wiltink
.
- Follow-Ups:
- Re: Delphi 4 basic, loading a picture from an internet address
- From: Endoscope
- Re: Delphi 4 basic, loading a picture from an internet address
- References:
- Delphi 4 basic, loading a picture from an internet address
- From: Endoscope
- Delphi 4 basic, loading a picture from an internet address
- Prev by Date: Re: How to add control to form?
- Next by Date: Re: Delphi 4 basic, loading a picture from an internet address
- Previous by thread: Delphi 4 basic, loading a picture from an internet address
- Next by thread: Re: Delphi 4 basic, loading a picture from an internet address
- Index(es):
Relevant Pages
|