HP Forums
How to scroll a grob with the touch screen - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: How to scroll a grob with the touch screen (/thread-9753.html)



How to scroll a grob with the touch screen - Giancarlo - 12-21-2017 10:40 PM

Hello,
Does someone have a snipped code on how to scroll a grob with the touch screen?


Thanks

Giancarlo


RE: How to scroll a grob with the touch screen - Giancarlo - 12-22-2017 08:45 PM

How the manual scroll should work?

If through the WAIT(-1) command, i should receive a list like this: {type, [x,y], [dx,dy]}
where:
type should be the type of touch event
[x,y] should be the initial position and
[dx,dy] should be the delta from the last mouse down.

Does this mean that i need to track a MOUSE DOWN (type 0) and then a STRETCH (type 5)?

it is not clear to me the logic of how it works,

thanks for any clarification,

Giancarlo