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:06: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:37: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.com/help/leadtools/v19/dh/c/leadtools.controls~leadtools.controls.imageviewerinteractivemode~isdragmousewheelenabled.html

Edited by moderator Wednesday, March 15, 2017 4:44:06 PM(UTC)  | Reason: Not specified

Faris Shahin
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Monday, June 29, 2015 6:34: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-2019, Yet Another Forum.NET
This page was generated in 0.127 seconds.