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
 v4.0.2 EListError
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Nov 09 2011 :  06:44:45  Show Profile  Reply
Hello,
after installation of version 4.0.2 receives I in my application
an Exception class EListError, Message: List-index oversteps the maximum (1), Process is halted!
Until version 4.0.1 ran everything very well.
I can find no mistake!
I now use v4.0.1 and everything, OK is again?

Klaus

fab

1310 Posts

Posted - Nov 09 2011 :  13:33:59  Show Profile  Reply
Hello,
please tell me where you get this error (which ImageEn method, property, etc...).
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Nov 10 2011 :  08:58:07  Show Profile  Reply
Hello Fabrizio,
after much seeks, here my result with example.
The mistake appears with use of layers,
and subsequent mouse-movements over the picture.


Klaus
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Nov 10 2011 :  09:02:03  Show Profile  Reply
How can i send you ma Example ?

Klaus
Go to Top of Page

fab

1310 Posts

Posted - Nov 10 2011 :  12:29:58  Show Profile  Reply
Hello,
in your code there is...

procedure TForm1.ImageEnVect1Click(Sender: TObject);
begin
if ImageEnVect1.LayersCount>1 then
ImageEnVect1.LayersMerge(0,1);
end;

...which removes a layer inside a click event. TImageEnVect expects the layer to exist until the click event ends.
The version I sent you fixes this problem.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: