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
Contributor
marioboikov
Posts: 30
Registered: ‎05-24-2012
My Device: Developer
Accepted Solution

Disabling a tab

[ Edited ]

@BlackBerryDevs

 

Will the TabbedPaneProperties support 'disabled' in the future so that you can disable a tab until some conditions are meet before it's enabled?

 

Or do you have any guide lines on what to do in situations where data for a tab isn't ready yet.

 

For example, in a music player you could have a 'Now playing' tab, but that tab is only valid if you actually is playing something.

BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: Disabling a tab

Hello,

 

you can manage that, through the Tab itself, it has the property: "enabled".

 

https://developer.blackberry.com/cascades/reference/bb__cascades__tab.html

 

Cheers,

 

Alex

Developer
Pallam_Madhukar
Posts: 21
Registered: ‎04-26-2012
My Device: BlackBerry 9800

Re: Disabling a tab

thank you.