Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
BBSJdev
Posts: 5,950
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

ContextMenu firing Touch signal on ListItem

Hi,

 

I've set up a contextmenu for when a user holds down a menu item, it all works fine however I'm stuck on how to prevent the touch signal being fired as well?

 

I need the contextmenu handler to consume the touch event and not pass it on to the listitem.

 

The documentation I've read says this is possible but then gives no links on how to do it and I can't find anything describing this.

 

So is this a bug or is there a way to do it?

 

Why on earth are the gesture and touch handlers separate anyway???


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.