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
 select a rectangle
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Dany

59 Posts

Posted - Oct 22 2024 :  09:54:28  Show Profile  Reply
Hello;

I have the component defined in this way, but I can't make it to select a rectangle; it always do a square selection.

object ImgDisplay: TImageEnView
Left = 0
Top = 0
Width = 490
Height = 363
Cursor = crDefault
DesignTimeView = dvBlank
BackgroundStyle = iebsGradient
GradientEndColor = 12373967
Align = alClient
TabOrder = 0
ZoomFilter = rfLanczos3
LayerEditingMode = False
LayerOptions = [loAutoPromptForImage, loAutoFixBorders, loShowRotationGrip]
SelectionOptions = [iesoAnimated, iesoSizeable, iesoMoveable, iesoCanScroll, iesoPolygonSizeable]
MouseInteractGeneral = [miSelect]
Background = clWhite
end

What do I have to change to make it to accept to select a rectangle?

Thank you.

Dany

59 Posts

Posted - Oct 22 2024 :  09:58:03  Show Profile  Reply
I found it, the problem is when I set ShiftKeyLock := [iessAlt_MaintainAR], which I use to respect the ratio for image layers.

Go to Top of Page

xequte

38610 Posts

Posted - Oct 22 2024 :  18:01:32  Show Profile  Reply


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