Subject Re: Problems with strech (JPEGImage)
Author Popa Ovidiu Razvan
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> At 09:24 PM 26/10/2007, you wrote:
> >Hi
> >I am using TIB_JPEGImage for showing some picture.
> >My problem is.
> >I set
> >Stretch = True
> >Center = True
> >AutoSize = False (the real picture is smalleer)
> >
> >the picture dosent strecth like I need
> >she put the original picture in the center and the rest is filled
with
> >color White (Component Color).
> >any advice ?
>
> I think you want Autosize = True
>
> This should cause the image to be scaled up to fit into the
TPicture, which seems to be what you really wanted to happen...
>
> Helen
>

NO I dont wanna do this.
I want the picture to scale the COMPONENT not vice versa.
If I make component 100x200 I want the image displayed to be 100x200.
Razvan
I will make some printscreen and make also a demo.