ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Image state property?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yeohray2 Posted - Jan 16 2023 : 23:27:07
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 18 2023 : 22:44:18
Hi Ray

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

Nigel
Xequte Software
www.imageen.com
yeohray2 Posted - Jan 18 2023 : 00:10:07
Hi Nigel,

Noted, thanks.

Ray
xequte Posted - Jan 17 2023 : 19:36:49
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