HP Forums

Full Version: How to scroll a grob with the touch screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
Does someone have a snipped code on how to scroll a grob with the touch screen?


Thanks

Giancarlo
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
Reference URL's