Hello Roland.

There is also the tbitmapcomp in "Gui" tab of components palette.
In the "bitmap" property, under "alignment" sub-property, there are
stretch_x and stretch_y and many others properties.

So, after set all needed for tbitmapcomp, LoadImage() is just this:

procedure tsomething.LoadImage(const AFileName: string);
begin
  tbitmapcomp1.bitmap.LoadFromFile(AFileName);
  imImage.Bitmap := tbitmapcomp1.bitmap;
end;

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to