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
 showing border when not selected
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tbn8260

3 Posts

Posted - Jul 02 2024 :  17:33:19  Show Profile  Reply
I have an ImageEnView loaded saved layers. At the end of the load, I called ImageEnView1.LayersCurrent:=0 which would make it no layer would be selected at the start. The issue is it's showing a border around the last layer that was added. Is this an option I can disable or a flag I can set so that it doesn't show that border?



xequte

38319 Posts

Posted - Jul 06 2024 :  22:06:09  Show Profile  Reply
Hi

LayersCurrent changes the active layer, but not the selection status of layers (https://www.imageen.com/help/TIELayer.Selected.html). Do it this way:

ImageEnView1.LayersDeselectAll();
ImageEnView1.LayersCurrent := 3;

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