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
 PDF Scroll
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tiagosis

Brazil
36 Posts

Posted - Feb 17 2022 :  15:28:49  Show Profile  Reply
hello, I'm using PDF viewing with ImagenEnView and when scrolling the pages with the mouse wheel the pages run very quickly, how do I solve this?

tiago

aleatprog

132 Posts

Posted - Feb 17 2022 :  19:20:05  Show Profile  Reply
Hi,

you may try TIEMouseWheelParams.Variation to limit the speed.

// Mouse wheel will scroll image by 15% of component height
ImageEnView1.MouseWheelParams.Action := iemwVScroll;
ImageEnView1.MouseWheelParams.Variation := iemwPercentage;
ImageEnView1.MouseWheelParams.value := 15;

// Mouse wheel will scroll image by 1 pixel
ImageEnView1.MouseWheelParams.Action := iemwVScroll;
ImageEnView1.MouseWheelParams.Variation := iemwAbsolute;
ImageEnView1.MouseWheelParams.value := 1;

Ale
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - Feb 21 2022 :  08:00:31  Show Profile  Reply
thanks, that solved it for me

tiago
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: