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: 1,650
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

detect if peeked over threshold ? (nested TabbedPanes)

following scenario:

 

TabbedPaneA

     TabsA1 ...

          Sheet

                TabbedPaneB

                        TabsB1 ...

 

I can peek back from TabbedPaneB to TabbedPaneA

TabbedPaneA also receives peekStart and peekEnd signals

 

because TabbedPaneB is inside a Sheet I cannot go back via peeking as from Pages stacked on NavigationPane

 

seems that I have no way to detect from peekEnd if user peeked over 50%

then I would close the Sheet and be back at the root TabbedPane

 

my Sheet doesn't show any buttons like OK or Cancel -

user goes back from last Tab of TabbedPane labeled as 'Back' using '<' Icon

would like to avoid this extra Tap

 

on Q10 no problem: there I have a special 'Home' shortcut and with Bluetooth keyboard using 'ESC' keyListener -

only for Touch devices looking for easy way to swipe-back

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner http://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: detect if peeked over threshold ? (nested TabbedPanes)

I believe that's just a consequence of using a Sheet, but more details in peekEnd sound liks a good feature request to me.

 

Really, you are only supposed to use Sheets as a break in the flow of the app. Tabbed panes within tabbed panes aren't exactly supported.

 

You may be able to hack or fake something up though.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Developer
Posts: 1,650
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: detect if peeked over threshold ? (nested TabbedPanes)


PBernhardt wrote:

I believe that's just a consequence of using a Sheet, but more details in peekEnd sound liks a good feature request to me.

 


thx


PBernhardt wrote:

Really, you are only supposed to use Sheets as a break in the flow of the app. Tabbed panes within tabbed panes aren't exactly supported.

 

You may be able to hack or fake something up though.


I know - nested TabbedPanes aren't supported, but Sheets can contain TabbedPane anda Sheet itself can be content of a Tab, so.....


--

BTW: it works well - and these nested tabs are totally different parts of my app.
 only less users will get them - only if they have more then one 'Role'

will make a video later

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner http://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Retired
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: detect if peeked over threshold ? (nested TabbedPanes)

Yeah, if you have a video of your usecase I would love to see it.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker