Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, June 25, 2015 8:01:25 AM(UTC)

csa_dev  
csa_dev

Groups: Registered
Posts: 4


We have an image viewer implemented with a floater that the user can drag around using ImageViewerFloaterInteractiveMode. We noticed that the scroll wheel is also moving the floater vertically when this mode is engaged. This is a problem because we use the scroll wheel to adjust the scale factor (so the user can zoom in and out). Is there some way to disable the scroll wheel's ability to move the floater? The ImageViewerFloaterInteractiveMode is only set to the left mouse button.

Thank you
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, June 28, 2015 11:32:28 PM(UTC)
Faris Shahin

Groups: Registered, Tech Support
Posts: 26


Hello,

There's actually a property inside the ImageViewerInteractiveMode Class called IsDragMouseWheelEnabled. This property Indicates whether the ImageViewerInteractiveMode accepts drag events originated using the mouse wheel. By default, the value is set to "true". I would suggest that you try changing that value to "false" and retest, it should work for you. For more information on this property, please view the link below:
https://www.leadtools.co...agmousewheelenabled.html

Edited by moderator Wednesday, December 30, 2020 9:14:38 AM(UTC)  | Reason: Not specified

Faris Shahin
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Monday, June 29, 2015 6:29:30 AM(UTC)

csa_dev  
csa_dev

Groups: Registered
Posts: 4


Faris,

This seems to work perfectly. Thank you.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.062 seconds.