ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Bug with ImageEN 4.0
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

uko

Germany
31 Posts

Posted - Jul 20 2011 :  03:01:09  Show Profile  Reply
Hi,

just installed ImageEn 4.0 and found a bug:

- Open Sample MultiPage/Thumbnails2
- change GridWith to 0 to get all thumbs aligned on one row
- start application

--> you no longer can select any of the thumbs!

Could you provide a fix for this fast or should I go back to latest version 3 (where it works fine)?

setting: Delphi XE, latest updates


Thank you,
Ulrich

fab

1310 Posts

Posted - Jul 20 2011 :  04:11:02  Show Profile  Reply
Hi,
thank for reporting.
To fix the bug please open iemview.pas and replace CalcGridWidth method (at the bottom of the source code) with this one:


function TImageEnMView.CalcGridWidth():integer;
begin
  case fGridWidth of
    -1: result := (clientwidth - fHorizBorder) div (fThumbWidth + fHorizBorder);
     0: result := ImageCount;
    else
      result := fGridWidth;
  end;
end;


A fixed version will be released ASAP (which will fixe also the bug with semi-transparent selection and GridWidth=0).
Go to Top of Page

uko

Germany
31 Posts

Posted - Jul 21 2011 :  02:28:17  Show Profile  Reply
Thank you! Will test it the next days.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: