in GUI Development by

I am using slide touch handler to slide from one screen to another using onEnd() slot, I am switching between screens using the offset value of touch handler.

After a timeout I want the offset to be set to (0,0} i.e the x value of offset to be set to 0.

Doing SlideTouchHandler.Offset = {0,0} does not work, this does not set the overall handler offset to 0.

How can I reset the offset value after a time out?

1 Answer

0 votes

Hello samprati,

modifying Offset will interfere with the functionality implemented in Slide Touch Handler. I would recommend to use the Simple Touch Handler or the Wipe Touch Handler in your application case.

I hope it helps you further.

Best regards

Paul Banach

Embedded Wizard Website | Privacy Policy | Imprint