402 views
in GUI Development by
In the top, a SlideTouchHandler is used to a horizontal list and at the background a  WipeTouchHandler overlap with the SlideTouchHandler is used to control the up/down action. How can hook the up/down action to the WipeTouchHandler

2 Answers

0 votes
by
 
Best answer

Let me refer to our new and comprehensive documentation about touchscreen and mouse events. The chapter Simple Touch Handler describes all basics about touch handlers. Your question is coverd by the section combine several Touch Handlers together.

Forthermore, let me refer to the description of Wipe Touch HandlerRotate Touch Handler and Slide Touch Handler.

0 votes
by

Hi,

DeflectCursor is what you are probably looking for.

Example:
Create a slot (e.g. onSlide) and add it to the SlideTouchHandler on onSlide. In this slot determine if there is a wipe up/down and deflect the cursor via e.g.GetRoot().DeflectCursor( WipeTouchHandler, <0,0> ); to the WipeTouchHandler.

Remark:
For 8.10 Embedded Wizard, you can also check the RetargetCondition.

Embedded Wizard Website | Privacy Policy | Imprint

...