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
 Dragging layers need to drag additional positions
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

WIZZs

Netherlands
23 Posts

Posted - Nov 15 2018 :  01:26:07  Show Profile  Reply
Hi,

In a TImageEnLayerMView all layers from a TImageEnView are listed.
I've set LayerOrder to ieloBackgroundFirst so the background layer keeps its position in the background.

When I add two layers on top of the background layer and try to rearrange the third layer backwards (using drag/drop inside the TImageEnLayerMView), than I can't drop it between the background layer and the second layer, but I need to drag the third layer above the background layer in order to place it in that position.

Adding more layers has the same result. I always have the drag the layer one position further than where it will be placed.

Is there a solution for this?

Thanks.

xequte

38183 Posts

Posted - Nov 15 2018 :  18:22:20  Show Profile  Reply
Hi

We have a fix for this in the upcoming 8.1.2. You can email me for a pre-release if you like.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

WIZZs

Netherlands
23 Posts

Posted - Nov 21 2018 :  17:18:15  Show Profile  Reply
Hi Nigel,

After some line and image layers onto a background and clicking on the background layer (which is not selectable) I get an EListError.
I'll sent you an email with the errormessage call stack.
Go to Top of Page

xequte

38183 Posts

Posted - Nov 21 2018 :  20:06:16  Show Profile  Reply
Thanks, I've tightened up the code in the method mentioned in the call stack, but I'd like to reproduce the the issue.

Are there any specific steps that I can take?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

WIZZs

Netherlands
23 Posts

Posted - Nov 21 2018 :  23:16:17  Show Profile  Reply
I've added some layers on top of the background and deleted one or two of them (DEL-key). Than I clicked quite a few times on the background itself (differs).

If there are f.e. 5 items inside the TImageEnMView (so index 0 - 4), then the EListError is about List index out of bounds (5).

I had to trial and error a bit myself, as it sometimes takes a while untill the error came up.

Also it might have to do with text-layers.

I've put together a small video, which shows you my actions and the number of times I clicked on the background (always with left mouse) in order to bring it up.
Temporarily file: https://1drv.ms/v/s!AjUGGQi1iwfTiIF-eL2sPyEkZqWTvQ
Go to Top of Page

xequte

38183 Posts

Posted - Nov 22 2018 :  20:39:29  Show Profile  Reply
Thanks, your video was good, but I could not reproduce it.

What is your MouseInteract?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

WIZZs

Netherlands
23 Posts

Posted - Nov 22 2018 :  22:27:25  Show Profile  Reply
Please see my code at: https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=3681
Go to Top of Page

xequte

38183 Posts

Posted - Nov 23 2018 :  21:37:57  Show Profile  Reply
Thanks, I commented out my fix and was able to reproduce the error. So this confirms the issue will be fixed for 8.1.2.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
725 Posts

Posted - Nov 24 2018 :  08:25:41  Show Profile  Reply
Hello Nigel,

When are you planning to release the update?

Regards,


Yogi Yang
Go to Top of Page

xequte

38183 Posts

Posted - Nov 24 2018 :  21:47:51  Show Profile  Reply
Compiling it now. You download the update via:

https://www.imageen.com/support/downloadrequest.html

(You can do it now, but the release probably won't be ready until tomorrow).

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