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
 Polygon layer

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
thipayarat.gfin Posted - Aug 17 2018 : 05:42:26
1. I am using ImageEnVect.MouseInteract := [miDrawCreatePolylineLayers] to create a polyline layer and ending by dblClick for finish draw polygon layer. but MouseInteract is still [miDrawCreatePolylineLayers] when click it create new layer and draw polygon. How i change MouseInteract when finish draw polygon layer by dblClick or handle event when finish draw polygon layer by dblClick?

2. how to handle event mouse when mouse is on layer? how to know mouse on/focus layer?

Thanks guys
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 19 2018 : 16:59:01
Hi

1. You can use the ieiLayerPointsEdited of the LayersNotifyEx event to detect when line insertion completes

2. When a layer is selected the OnLayerSelectionChange event occurs:

https://www.imageen.com/help/TImageEnView.OnLayerSelectionChange.html

You can detect other events, such as MouseOver using OnLayerNotifyEx:

https://www.imageen.com/help/TImageEnView.OnLayerNotifyEx.html

Nigel
Xequte Software
www.imageen.com