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
 Image state property?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yeohray2

Malaysia
106 Posts

Posted - Jan 16 2023 :  23:27:07  Show Profile  Reply
I have an image with a few polyline and shape layers. I select one of the polyline layers, and the grip handles are shown. I can click on the grip handle and move the point. All good.

However, I would like to run a different set of actions if the user clicks on a different area of the image and drags the mouse. I'm handling this in the MouseMove event.

The issue then is that when the user drags a polyline point, or resizes the layer, I don't want to run my actions.

Is there a way to tell when the user has clicked on a point and is moving it, something like a IsEditingPoint or IsResizingLayer? Or do I need to capture and use the details in the OnLayerNotify/OnUserInteraction events?

Thanks in advance.

Ray

xequte

38615 Posts

Posted - Jan 17 2023 :  19:36:49  Show Profile  Reply
Hi Ray

Unfortunately that information is just not available via a property. You would need to maintain the state using the OnLayerNotify/OnUserInteraction event.

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

yeohray2

Malaysia
106 Posts

Posted - Jan 18 2023 :  00:10:07  Show Profile  Reply
Hi Nigel,

Noted, thanks.

Ray
Go to Top of Page

xequte

38615 Posts

Posted - Jan 18 2023 :  22:44:18  Show Profile  Reply
Hi Ray

Please email me for the latest beta which supports TImageEnView.InteractionState

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