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
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

How keep my application stick at top when user does a swipedown ?

Hi,

 

If I add a swipe menu, the app contents stay stick at the top of screen when the user does a swipe down gesture.

 

I don't use the app menu. How to do in sort that my doesn't tilt when the user does a swipe down gesture ?

 

Nicolas

 

Highlighted
Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

Re: How keep my application stick at top when user does a swipedown ?

Someone ?

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How keep my application stick at top when user does a swipedown ?

[ Edited ]

If you could specify a MenuDefinition and disable it, that might prevent the default empty menu from appearing.

 

You don't seem to be able to do this from QML for the moment, however... and probably not from C++ either.  Although the class supports a signal enabledChanged() it doesn't appear from the headers or docs that there's an "enabled" property yet.

 

Not sure if there's a solution for you.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!