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
 MouseInteract and miRotateLayers
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - May 01 2019 :  02:23:16  Show Profile  Reply
Hello,

I am setting MouseInteract to [miMoveLayers, miResizeLayers, miRotateLayers]

After this when a user selects a Layer and moves the mouse cursor out of the selected Layer the mouse cursor shape changes to a rotation arrow irrespective of the fact as to how far the mouse is from the area of selected layer.

For better understanding please check attached image.




The exact code that I am using is:

  ieViewMain.MouseInteract := [];
  ieViewMain.MouseInteract := [miMoveLayers, miResizeLayers, miRotateLayers];
  ieViewMain.Cursor := crIESizeAll;


How to solve this problem so that when the mouse cursor is further then a give set of pixels it should change to what is set in code?

TIA


Yogi Yang

zerob

111 Posts

Posted - May 01 2019 :  08:32:25  Show Profile  Reply
It isn't possible at the moment.
I've asked exactly the same question before as it is confusing and also makes some interactions harder and more error prone. Maybe they add this some day.
Go to Top of Page

yogiyang

India
725 Posts

Posted - May 01 2019 :  09:19:10  Show Profile  Reply
Hell

Thanks for the input.

Actually it should not be that hard to fix as they have to just check proximity of mouse cursor from currently selected layer for changing the cursor.


Yogi Yang
Go to Top of Page

xequte

38179 Posts

Posted - May 01 2019 :  18:20:34  Show Profile  Reply
Hi

In 8.5.1, you can use:

IEGlobalSettings().LayerRotationGripMaxDist := 50;

Please email me for a pre-release.

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