Post Reply 
How to scroll a grob with the touch screen
12-21-2017, 10:40 PM
Post: #1
How to scroll a grob with the touch screen
Hello,
Does someone have a snipped code on how to scroll a grob with the touch screen?


Thanks

Giancarlo
Find all posts by this user
Quote this message in a reply
12-22-2017, 08:45 PM
Post: #2
RE: How to scroll a grob with the touch screen
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
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)