619 views
in Embedded Wizard Studio by
Hi Team,

I need to scroll down to particular position in my application. My application size is 1280x720 pixels.

var Test::TouchSequence seq = new Test::TouchSequence;
seq.Add(<624, 628>, 100);
seq.Add(<624, 450>, 100);
seq.Add(<624, 300>, 100);
seq.Add(<624, 220>, 100);
SendTouchSequence( seq );

If I perform the above code, how it is working?

1 Answer

0 votes
by
Hi Thushar,

you are emulating a touch sequence which scrolls up with this code snippet.

It defines that your finger touches the touchscreen at position x: 624, y:628. After 100ms your finger moves up to position x:624, y: 450. This continues to x: 624, y:220 where your finger gets released.

Does this answer you question?
by
Hi thank you much for the explanation. Yes this what I am looking. But with 100ms, the scroll misbehaves randomly. When I increased to 500ms, it is working properly.

Thanks,

Thushar

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...