 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Darius Guest
|
Posted: Wed Apr 18, 2007 8:54 pm Post subject: image problem |
|
|
I load a Jpg, Design time, (tried Bmp format too) picture (is a photo I got)
to put on top of my form. Uisng Align: Altop do the job for the location I
like it to be, but only part of the picture shows up. If I make Strech:true
the whole picture is shown but it get distorted.
Any help or suggestion. |
|
| Back to top |
|
 |
Mitch Guest
|
Posted: Thu Apr 19, 2007 8:05 pm Post subject: Re: image problem |
|
|
Darius wrote:
| Quote: | I load a Jpg, Design time, (tried Bmp format too) picture (is a photo I got)
to put on top of my form. Uisng Align: Altop do the job for the location I
like it to be, but only part of the picture shows up. If I make Strech:true
the whole picture is shown but it get distorted.
Any help or suggestion.
You'll need to draw the image at run time with StretchDraw to maintain |
the aspect ratio.
Mitch Wolberg
RockWare, Inc. |
|
| Back to top |
|
 |
Herre de Jonge Guest
|
Posted: Fri Apr 20, 2007 8:00 am Post subject: Re: image problem |
|
|
Besides setting Stretch to true, you might also be interested
in setting Proportional to true...
Darius wrote:
| Quote: | I load a Jpg, Design time, (tried Bmp format too) picture (is a photo I got)
to put on top of my form. Uisng Align: Altop do the job for the location I
like it to be, but only part of the picture shows up. If I make Strech:true
the whole picture is shown but it get distorted.
Any help or suggestion. |
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Wed May 09, 2007 10:17 pm Post subject: Re: image problem |
|
|
Set stretch to false, and AutoSize to true
Nils
"Darius" <my_vision2 (AT) yahoo (DOT) com> schreef in bericht
news:46263ee3$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I load a Jpg, Design time, (tried Bmp format too) picture (is a photo I
got) to put on top of my form. Uisng Align: Altop do the job for the
location I like it to be, but only part of the picture shows up. If I make
Strech:true the whole picture is shown but it get distorted.
Any help or suggestion.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|