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
 How to remove selection box when not in miSelect?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Fábio Nascimento

Brazil
72 Posts

Posted - May 30 2016 :  14:56:42  Show Profile  Reply
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!

wesleybobato

Brazil
367 Posts

Posted - May 30 2016 :  16:05:28  Show Profile  Reply
Imageenvect.deselect;
Go to Top of Page

Fábio Nascimento

Brazil
72 Posts

Posted - May 30 2016 :  16:22:54  Show Profile  Reply
Cool! Thanks wesley!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: