Subject | [IBO] Re: Problems with strech (JPEGImage) |
---|---|
Author | Popa Ovidiu Razvan |
Post date | 2007-10-29T11:03:59Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
and placing the image component in it, with the Align property set to
alClient?
Dosent work :(
R
>filled
> At 07:50 PM 29/10/2007, you wrote:
> >--- 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
> >with100x200.
> >> >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.
>
> Yes, I understand that now.
>
> >I want the picture to scale the COMPONENT not vice versa.
> >If I make component 100x200 I want the image displayed to be
>placing the IB_JPegImage inside an ordinary TPanel, sized to suit,
> What are you using as a container? Have you tried, for example,
and placing the image component in it, with the Align property set to
alClient?
>I tried.
> Helen
>
Dosent work :(
R