361 views
in GUI Development by
Hello,

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
by

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

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

...