ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
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
 In ImageENVect1, a Selected Object changes the selection color
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Jmich

Germany
5 Posts

Posted - Feb 12 2024 :  14:03:17  Show Profile  Reply
How to highlight a selected object in color.
For example, change the pre-refined selection. Instead of just
the yellow dots also change color (example blue) or the
Show object slightly larger.

Selection beforehand
New Selection Shape

see picture attached

Who has an idea to solve

regards



jm

xequte

38341 Posts

Posted - Feb 12 2024 :  20:04:59  Show Profile  Reply
Hi

With TImageEnVect you set the line color and width with:

http://www.imageen.com/help/TImageEnVect.ObjPenColor.html
http://www.imageen.com/help/TImageEnVect.ObjPenWidth.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Jmich

Germany
5 Posts

Posted - Feb 13 2024 :  04:15:08  Show Profile  Reply
Hello Xequte Team,

Please excuse me, unfortunately, I meant something else.
As described below, only the color of the selected object should be changed
(in this case, the color blue), and when it is no longer selected,
it should revert to the original color, for example, red.

The solution ImageEnVect1.CurrentLayer.BorderColor not the selected object.




jm

Go to Top of Page

xequte

38341 Posts

Posted - Feb 14 2024 :  22:38:50  Show Profile  Reply
Hi

There is not a built-in way to do it, but you could change the border color of the current object in the OnSelectObject event.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: