On Saturday 28 October 2017 17:10:48 Martin Schreiber wrote:
> On 10/27/2017 01:39 PM, Martin Schreiber wrote:
> > On Friday 27 October 2017 13:23:17 code dz wrote:
> >> i used this code to load images
> >> the listview display sliced images , how to display stretched  image ?
> >>
> >>    for i:=0 to 9 do begin
> >>      bmp := tmaskedbitmap.create(bmk_rgb);
> >>      bmp.loadfromfile(imgDir+img_names[i]);
> >>      timagelist1.addimage(bmp,[al_stretchx,al_stretchy]); <<<<<----
> >>      bmp.free;
> >>    end;
> >
> > (not tested).
>
> Or better [al_fit].
>
Git master eb01767dc998793988683b633ff3b62a9464a67e also has "al_thumbnail" 
which does not enlarge images. ->
"
 imagelist1.addimage(bmp,[al_thumbnail,al_xcentered,al_ycentered]);
"
Martin



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to