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
 OnImageAtPos when configured as TIEHorizontalFlow
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Polly

3 Posts

Posted - Nov 28 2013 :  12:32:48  Show Profile  Reply
I have configured ImageEnMView as TIEHorizontalFlow format. I create the OnImageAtPos event, however whenever I click on the image it gives me the idx when I click on the image where the images were when no animations were configured (in the middle of nowhere when animations are set). I am using it on C++ Builder 2009.

Any ideas?

xequte

38616 Posts

Posted - Nov 28 2013 :  13:59:43  Show Profile  Reply
Hi

I'm afraid that the value of idx is not valid when using animations. We will address this for the next release.

In the meantime you can call

idx := ImageEnMView1.Animation.FindImageAt(x, y);

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: