Want real fun...
Put a timage on top of a timage.
Then stretch smaller (shrink) the top timage.
If the top image is a png with just something in the center and the rest
transparent...
You will have the background (bottom image) not fill in the area of the original
size of the top image so you have a black shadow.
--- dale
On Saturday 10 June 2006 01:42, Marien van Westen wrote:
> >
> > >
> > >
> > It is implemented in C:\lazarus\lcl\include\customimage.inc.
> > See procedure TCustomImage.SetStretch(Value : Boolean);
>
>
>
> Well I don't see a real implementation there. In this procedure
> PictureChaged(Self) is called. Following that I arrive at DoAutoSize at the
> end. In control.inc I find this:
>
> Procedure TControl.DoAutoSize;
> Begin
> //Handled by TWinControl, or other descendants
> end;
>
> And then I am stuck.
>
> Marien
>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives