ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Hide grips

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Size 
UserName:
Password:
Mode 
Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List
   
Message 

 

Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pierrotsc Posted - Jan 16 2019 : 11:29:28
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.
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 16 2019 : 21:57:26
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
pierrotsc Posted - Jan 16 2019 : 14:03:08
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.
zerob Posted - Jan 16 2019 : 13:21:41
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?
pierrotsc Posted - Jan 16 2019 : 11:39:59
got it..
imageenview.LayersDeselectAll;