On Sunday 03 February 2013 20:32:01 Ivanko B wrote:
> - unpack the attached project
> - put many 100KB..200KB JPG files to the project directory
> - build & run the project
>
> The project should show small previews for the images.
>
"
 for i:= 0 to high(filenames) do begin
   r:= ceil((i+1)/datacols.count)-1;
   c:= i mod datacols.count;
   tdataimage(datacols[c].editwidget)[r]:=  readfiledatastring(filenames[i]);
 end;
"

> Q: can loading time be optimized if we have small previews ?

Load the thumbs in a timagelist and use a tlistviw for displaying.


Martin



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to