delphi / firemonkey: how to make a kinetic scroll?


I m under delphi and firemonkey. i manage myself the scroll via the ongesture event. i would like to add something like a “kinetic energy” effect to the scroll.

for exemple you put your finger on the bottom of the screen and you fastly move it to the top and removing it from the screen. the result will be that the screen will scroll much much more than where you remove your finger, like you gave some kinetic energy to the scroll. on the other way if you don’t remove you finger from the screen at the end then you don’t give any kinetic energy to the scroll.

any idea how to do this ?

Comments are closed.