Revision history [back]

click to hide/show revision 1
initial version

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

andij62 gravatar image andij62

Use only Swipe-Event right-left

Hi all,

i have a tabbox with several tabpanels. I check the Swipe-Event for left and right swipe and change the tabpanels when the Event is fired.

    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

Use only Swipe-Event right-left

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.

    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

Use only Swipe-Event right-left

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

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