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

brm121966

USA
51 Posts

Posted - Feb 10 2024 :  18:13:21  Show Profile  Reply
Hello.
13th version.
Got the situation.
If you clear ImageEnView - ClearAll; Blank();
Load an image and select it using the Rectangle method.
Hover the cursor over the marks to narrow the selection area - the cursor does not change and changes are not possible.
But if you click on the right side of the picture, the selection will be reset.
Then select the area again using the Rectangle method.
Change the area to become available.
Tell me how to correctly work with methods for selecting areas that can be changed?

Thank you.
Rudolf

xequte

38046 Posts

Posted - Feb 12 2024 :  20:01:23  Show Profile  Reply
Hi Rudolf

So i started a new application and added a TImageEnView and Button.

I added this code to the button click event:

  ImageEnView1.ClearAll();
  ImageEnView1.Blank();
  ImageEnView1.IO.LoadFromFile( 'D:\im.jpg' );
  ImageEnView1.MouseInteractGeneral := [miSelect];

I created a selection and was able to size it as expected.

Can you give me more information?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

brm121966

USA
51 Posts

Posted - Feb 13 2024 :  23:01:14  Show Profile  Reply
Hi Nigel.
It looks like the problem is in the maximum selected area.
I select an area inside the image and expand the left area to the maximum left side of the image.
After this manipulation, it is impossible to change the left size of the selected area.
The same applies to other sides of the selected area.
Thanks.

Rudolf
Go to Top of Page

xequte

38046 Posts

Posted - Feb 14 2024 :  22:37:11  Show Profile  Reply
Hi Rudolf

I'm not seeing that. Can you create a small demo that shows it and the steps I need to take.

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