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
 Mouse Layer Interaction Exception

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
PaulAtMass Posted - Aug 16 2019 : 12:11:33
Hi,
I'm using ImageEn 8.6.0 and have a problem interacting with polyline and line layers. If I draw a polyline layer and line layer, then set
ImageEnView1.MouseInteractLayers := [ mlEditLayerPoints, mlMoveLayers, mlResizeLayers ];

If I try and edit a point on polyline it raises an exception.
If I edit a point on line it re-draws the line i.e. the other point moves as well.

regards
Paul
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 19 2019 : 19:48:52
Hi Paul

I cannot reproduce. I'm quite sure this issue has been fixed. Please email me for the latest beta.

Nigel
Xequte Software
www.imageen.com
PaulAtMass Posted - Aug 19 2019 : 07:14:13
Hi Nigel,
on Layers_Lines demo added extra check box chkAllowMoveResize so I can set the mouse interaction layers. Added following code to Tfmain.MouseActionCtrlClick after the chkAllowPointEditing check.

if chkAllowMoveResize.Checked then
ImageEnView1.MouseInteractLayers := [ mlEditLayerPoints, mlMoveLayers, mlResizeLayers ];

Issue 1 Steps:
1. Draw a line layer. Can Edit points and move them OK.
2. Draw a Polyline layer. Double Click to finish.
3. Select line from step 1. Edit point it re-draws the line from the edited point, it doesn't keep location of the other point. Its OK if you click on the 'Draw Line' Radio button but not any other radio buttons.
Issue 2 Steps:
4. With 'Draw Polyline' radio button selected and Polyline layer selected.
5. Uncheck 'Allow Point Editing' checkbox.
6 Check new 'Allow Move, Resize, Edit' check box.
7. Edit point get access violation in TIELayerPointsInteraction.MouseMoveExclusive_Editing function.
NOTE: It appears to be OK if you leave 'Allow Point Editing' checkbox checked. Which is strange because I'm overwriting the MouseInteractLayers set, with my code? When playing about also saw 'Invalid Array Index' exception.

regards
Paul



Check new check box so



xequte Posted - Aug 16 2019 : 19:31:54
Hi Paul

I think this issue is already fixed in the current beta. What are the steps to reproduce in the \LayerEditing\Layers_Lines\ demo?

Nigel
Xequte Software
www.imageen.com