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
 Layer deselection
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

161 Posts

Posted - Jan 16 2019 :  06:40:30  Show Profile  Reply
There seems to be no way to programatically deselect (remove sizing handles) of a ImageLayer that got selected automatically after programatically creating it on a ImageEnView.

All deselection functions don't seem to work for this (it keeps the grab handles).

xequte

38615 Posts

Posted - Jan 16 2019 :  22:15:53  Show Profile  Reply
If layer multiple selection is enabled you can use:

ImageEnView1.LayersDeselectAll();

If multi-select is not enabled, then just select layer 0:

ImageEnView1.LayersCurrent := 0;

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