08-22-2012 11:26 PM
Hi,
How does one switch to a specific Tab when you click on an ActionItem in another Tab?
Thanks in advance.
Solved! Go to Solution.
08-27-2012 12:06 PM
Hi there,
In order to switch tabs, you need to use the 'activeTab' property.
1) Make sure your Tab object in QML contains an id:
id: tabbedPane
2) Make sure your tabs contain ids as well:
id: actualTab2
3) in your current tab's ActionItem's onTriggered routine, call the following:
tabbedPane.activeTab = actualTab2;
Let me know if this works for you;
Martin
09-07-2012 03:19 PM
Is there a way to add a transition. By default the new tab just switches in a blink, what if I want to slide to the new tab or something similar?
09-10-2012 09:07 AM
Hi,
Unfortunately not at the moment - This feature or the ability to customize it may come in the future. It would be a great feature request, however:
https://www.blackberry.com/jira/secure/Dashboard.j
Cheers,
Martin
12-29-2012 08:32 PM