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
 PolylineLayer always jumps back to original position

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
zerob Posted - Dec 28 2024 : 16:37:52
Hi Nigel

I've created a iesRectangle and converted it into a PolilineLayer.
Now im able to move the layer with my mouse and place it.

As soon as i try to edit the layerpoints or add new ones, the whole layer jumps back (X,Y) to the original position.
When i add a new point (on mouseup) or when i click and drag a existing point, the jump happens. (reset of X Y)

This also happens when i copy that layer with CTRL + Mousemove, this layer also jumps back.

I expect it to stay where i moved it and enable me to edit it, without jumping back.

Center := False;
MouseInteractLayers := [mlMoveLayers,mlResizeLayers,mlEditLayerPoints];
ImageEnView1.LayersAdd(TIEShape.iesRectangle,20,20,250,150);
ImageEnView1.Layers[1].ConvertToPolylineLayer(False);





2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 29 2024 : 15:02:46
Hi

Please email me for the latest beta

Nigel
Xequte Software
www.imageen.com
zerob Posted - Dec 28 2024 : 16:48:14
If i create a polylayer by myself, without converting it also jumps back.

ImageEnView1.LayersAdd([Point(20,20),Point(250,20),Point(250,150),Point(20,150)],True,clRed,1,clLime);

What do i do wrong, or is it a bug?