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
 Problem with selection

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
rmklever Posted - Jul 15 2018 : 06:38:53
Hi,

There seems to be a problem when selecting. When you start selecting nothing is really selected and you can not select the rightmost or bottom line.




I am using this a lot so if there is an easy fix I would be happy



Roy M Klever
Klever on Delphi - www.rmklever.com
4   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Jul 15 2018 : 11:21:41
There are many new enhancements in 8.0.1 including CropTools.
ImageEnView.MouseInteract := [miCropTool];
The CropTool is a little different on how it works but you may want to try that as well. Look it up in the help file.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
rmklever Posted - Jul 15 2018 : 09:38:32
Thanks Bill,

I am using latest version v8.01

Your last tip did the trick! Including [iesoSizeable] in SelectionOptions was just what was needed. Thanks for quick fix!

I do not have grip on the selection, because it is just a one time selection for croping the area thats being selected. This is a crop tool.



Roy M Klever
Klever on Delphi - www.rmklever.com
w2m Posted - Jul 15 2018 : 09:11:53
I think your problem may be with SelectionOptions:
ImageEnView1.SelectionOptions := ImageEnView1.SelectionOptions - [iesoSizeable];

Set selection options to this
ImageEnView1.SelectionOptions := ImageEnView1.SelectionOptions + [iesoSizeable];
and it may be fixed.

If selection options include - iesoSizeable, then no grips are drawn?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
w2m Posted - Jul 15 2018 : 08:58:51
I think that somehow the selection grips are not active. There should be 8 selection grips on the corners and in the middle of selection borders. Did you turnoff this somehow? I think this will be resolved if the grips are visible. Then you can select the grips with the mouse and resize the selection.

ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsCircle);

How are you creating the selection? Show some code please.
What verion of ImageEn are you using?
Does the Demos\Other\Mouseinteract demo work correctly?

Selections are working for me just fine with version 8.0.1.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development