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
 Moving image over the screen problem
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Borut

4 Posts

Posted - Jan 12 2022 :  17:10:22  Show Profile  Reply
Hello,

I would like to move an image over the screen.
If I use Top property of the image and increase the value, I get unsmooth moving of the image (following the changing top value by 1).
If I try with SetViewXYSmooth, I like the smoothness, but the scrolling happens too quickly, (there seems to be no way of controlling the speed of scrolling).
Is there any way I could get relatively slow and smooth moving of the image over the screen?

xequte

6666 Posts

Posted - Jan 12 2022 :  20:58:01  Show Profile  Reply
You can control the speed of SetViewXYSmooth:

https://www.imageen.com/help/TImageEnView.SmoothScrollValue.html

Another possibility is using Pan-Zoom effects. Please see this demo:

Demos\Display\PanZoomEffects\PanZoomEffects.dpr

Exe demo: https://www.imageen.com/files/demos/run/Display/PanZoomEffects/PanZoomEffects.zip



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Borut

4 Posts

Posted - Jan 13 2022 :  01:09:48  Show Profile  Reply
Thank you. I will try both suggestions and let you know.

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