Author |
Topic |
|
PaulAtMass
United Kingdom
19 Posts |
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
|
|
xequte
38615 Posts |
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
|
|
|
PaulAtMass
United Kingdom
19 Posts |
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
38615 Posts |
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
|
|
|
|
Topic |
|