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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --
Accepted Solution

Disable peeking

Hello,

 

is there a way to disable peeking in NavigationPane?

 

Thanks,

Cainer

Developer
Posts: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Re: Disable peeking

Regardless of if it is possible... can I ask why you'd want to do this?  My understanding of the Peek ability is that it lets the user be in control and decide to "stay" in your app yet still be able to see what's going on with their messages etc.


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --

Re: Disable peeking

I mean peeking to previous page in navigation stack. Thing is, I can "overload" backButton to do something else than pop a page, but user is still able to "bypass" this with peeking.

 

Highlighted
Contributor
Posts: 11
Registered: ‎08-28-2012
My Device: 9800
My Carrier: --

Re: Disable peeking

Found it. Just set peekEnabled to false under NavigationPane.

This (obviously) affects all pages. 

New Developer
Posts: 21
Registered: ‎12-02-2012
My Device: BB10 Alpha Dev B
My Carrier: TrueMove-H

Re: Disable peeking

Thanks my friend. You saved my life. Smiley Very Happy