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
 How to remove selection box when not in miSelect?

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

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
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
Fábio Nascimento Posted - May 30 2016 : 14:56:42
Hi,

When I set ImageEnVect.MouseInteract := [miSelect]; I can draw a box to select an area of the image. Then I work on the selected area and it works great.

But what is the code to remove this box (dont do anything to the image itself, just remove this selection box)?

For example, when I click outside this box, the box is automatically removed from the ImageEnVect, but I can't find a way to do it by code.

I need this because I can switch from miSelect to miScoll, but if I have a selected area, it remains even if I'm on miScroll mode.

Thanks!
2   L A T E S T    R E P L I E S    (Newest First)
Fábio Nascimento Posted - May 30 2016 : 16:22:54
Cool! Thanks wesley!
wesleybobato Posted - May 30 2016 : 16:05:28
Imageenvect.deselect;