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: 125
Registered: ‎11-06-2012
My Device: BlackBerry
My Carrier: Mobifone

How to delete a page in navigation and tabbed pane

In navigation pane, when pop a page, it's still on the stack, how I can delete it from the stack when pressed back.

The same question in the tabbed pane, how i close the page in previous tab when i choose another tab.

 

Thanks.

Developer
Developer
Posts: 174
Registered: ‎03-05-2009
My Device: Dev Alpha
My Carrier: -

Re: How to delete a page in navigation and tabbed pane

using the popTransaitionEnded signal....something like this:

 

onPopTransitionEnded: {

  page.destroy();

}