Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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: