0

Use only Swipe-Event right-left

asked 2017-01-14 19:13:53 +0800

andij62 gravatar image andij62
313 1 7

updated 2017-01-14 19:54:46 +0800

Hi all,

i have a tabbox with several tabpanels. I check the Swipe-Event for left and right swipe on every tabpanel and change the tabpanels when the Event is fired. Here is the code for a tabpanel:

    public void onSwipe$tperg(SwipeEvent event) throws RemoteException {
    SwipeEvent se = (SwipeEvent) event;
    if (se.getSwipeDirection().equals("right"))
        tbinfo.setSelected(true);
    else if (se.getSwipeDirection().equals("left"))
        tbsearch.setSelected(true);
}

On a tabpanel i have a grid. It is no longer possible to scroll the Grid vertically. Is it possible to ignore the up/down Event? I think that is the problem that it no longer works.

Regards Andi

delete flag offensive retag edit

4 Answers

Sort by » oldest newest most voted
0

answered 2017-01-16 20:59:37 +0800

andij62 gravatar image andij62
313 1 7

Can someone help? It's very important!

link publish delete flag offensive edit
0

answered 2017-03-07 19:36:13 +0800

andij62 gravatar image andij62
313 1 7

Hi all,

my App runs on iphone very well, but now i will use more usability from native Apps. One of the features is to swipe from one site to another. This can be realized with the swipe-event. My Problem is that my grid don't scroll vertically when i use the swipe-event. How can i use the rigth/left-swipe and the vertical scrollbar additional? Any help is welcome!

Regards Andi

link publish delete flag offensive edit
0

answered 2021-03-21 03:30:46 +0800

Bobzk gravatar image Bobzk
442 1 7

Having just posted

handle swipeleft and swiperight ignoring swipeUp and swipeDown

I have found this post. Somewhat surprised no answer after some 4 years!

Not been on the forum myself for a few years but seems a lot less help is being given than I remember. There was usually a response from someone (or Potix) within a day or two. It was a very lively and helpful forum.

Now seems a lot of questions never get answered!

link publish delete flag offensive edit

Comments

of course you'll always find a few old posts not being answered. We try to respond to as many tickets as possible ... still since this is a 'free' service we sometimes have to prioritize differently. If you need instant help, please contact our support

cor3000 ( 2021-03-22 10:13:54 +0800 )edit
0

answered 2021-03-23 21:13:16 +0800

Bobzk gravatar image Bobzk
442 1 7

In case andij62 is still interested, a fix is available in zkfiddle :

zkfiddle

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-01-14 19:13:53 +0800

Seen: 47 times

Last updated: Mar 23

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More