Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
Deselect Polygon
New Topic
Reply to Topic
Author
Topic
HMArnold
USA
28 Posts
Posted - Feb 11 2025 : 11:17:36
What is the best way to deselect a polygon?
After I draw multiple polygons and separate layers, the last one drawn is selected with all the nodes highlighted.
I have tried
Image.CurrentLayer.Selected := false;
and
(PImage.CurrentLayer as TIEPolylineLayer).Selected := false;
Thanks
HM Arnold
xequte
38796 Posts
Posted - Feb 11 2025 : 18:32:59
Hi
The correct method is to use set LayersCurrent, or call LayersDeselectAll():
http://www.imageen.com/help/TImageEnView.LayersDeselectAll.html
However if you the user is currently in layer point editing mode, it is difficult to exit that state. This is fixed in an earlier beta. You can email us for it.
Nigel
Xequte Software
www.imageen.com
HMArnold
USA
28 Posts
Posted - Feb 12 2025 : 12:08:02
Thanks very much.
For some reason the LayersDelectAll() still holds the last drawn polygon, but setting LayersCurrent := 0 works fine.
HM Arnold
xequte
38796 Posts
Posted - Feb 12 2025 : 18:38:51
Yes, that should be already fixed in recent betas.
Nigel
Xequte Software
www.imageen.com
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page