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
 TImageEnView - mouse wheel / zoom behavior

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
DiBase Posted - Mar 24 2022 : 17:36:56
Standard behavior when using mouse wheel (over a TImageEnView component) is:

- mouse wheel up: zoom out
- mouse wheel down: zoom in

This is opposite to scroll behavior of standard Windows picture viewer.

Is there an easy way to invert the mouse wheel action?

- Dirk from Hamburg/Germany

P.S.: ImageEn 9.2.5
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 03 2022 : 19:23:22
Hi Dirk

You are saying that when you change InvertDirection of MouseWheelParams for a TImageEnView in the Object Inspector it has no effect?

I cannot reproduce that. When you close and reopen the project has the InvertDirection property been reset?

It may be an issue in v9.2.5.

Nigel
Xequte Software
www.imageen.com
DiBase Posted - Mar 29 2022 : 14:38:10
Thanks, Nigel.

It works now, but only when I add the line in my source code.
When changing the parameter in Object Inspector of IDE it has no effect.

- Dirk
xequte Posted - Mar 24 2022 : 20:17:28
Please use:

// Invert the direction to resemble that of Windows Explorer
ImageEnView1.MouseWheelParams.InvertDirection := True;


https://www.imageen.com/help/TIEView.MouseWheelParams.html

Nigel
Xequte Software
www.imageen.com