BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

image problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Darius
Guest





PostPosted: Wed Apr 18, 2007 8:54 pm    Post subject: image problem Reply with 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
Mitch
Guest





PostPosted: Thu Apr 19, 2007 8:05 pm    Post subject: Re: image problem Reply with quote



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





PostPosted: Fri Apr 20, 2007 8:00 am    Post subject: Re: image problem Reply with quote



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





PostPosted: Wed May 09, 2007 10:17 pm    Post subject: Re: image problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.