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
 Hide grips
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pierrotsc

USA
386 Posts

Posted - Jan 16 2019 :  11:29:28  Show Profile  Reply
I use imageenview.deselect to remove the grips from being shown in a selection but it looks like the grips are still showing.
Advice ?
I want to remove the selection by code and hide the selection grips.

pierrotsc

USA
386 Posts

Posted - Jan 16 2019 :  11:39:59  Show Profile  Reply
got it..
imageenview.LayersDeselectAll;

Go to Top of Page

zerob

80 Posts

Posted - Jan 16 2019 :  13:21:41  Show Profile  Reply
LayersDeselectAll doesn't remove the grips in my app... Are you sure this works? If it really works, what version do you use and what options did you set?
Go to Top of Page

pierrotsc

USA
386 Posts

Posted - Jan 16 2019 :  14:03:08  Show Profile  Reply
Well it works on mine but i think i am really selecting the layer i found out. I am converting my code from imageenvect to imageenview and using layers instead of objects.
Go to Top of Page

xequte

4856 Posts

Posted - Jan 16 2019 :  21:57:26  Show Profile  Reply
Hi

You can set Selectable to prevent layers from being selected (and drawing the selection grips):

https://www.imageen.com/help/ImageEn/TIELayer.Selectable.html


You could alternatively set the Grip style to something less obvious:

https://www.imageen.com/help/ImageEn/TImageEnView.SetLayersGripStyle.html


Also, you can customize the box that is drawn on a selected layer:

https://www.imageen.com/help/ImageEn/TImageEnView.LayersDrawBox.html
https://www.imageen.com/help/ImageEn/TImageEnView.SetLayersBoxStyle.html

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