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
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?
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.



Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint