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.
06-21-2013 05:25 AM
I want to add a button on action bar and few more actions on antion menu. But the problem is the button will also appear in the action menu.
Here is the code:
var page1 = catalogue1.createObject();
var page2 = history.createObject();
//do work here.
The button is appeared on the action bar as well as on the action menu.
Can anyone help me??
Solved! Go to Solution.
06-21-2013 05:34 AM
06-21-2013 05:43 AM
06-21-2013 05:56 AM - edited 06-21-2013 05:57 AM
This is 'by design' and what users would expect, therefore I wouldn't recommend you change it.
Having said that however trapping the AnimatingToVisibleFull and/or VisibleFull signal on the menu then hiding or removing the action would be the way to go if you must.
A byproduct of this of course is that it will dissapear from the bar as well (maybe making your app look a bit jittery).
06-21-2013 05:58 AM
06-21-2013 06:20 AM
You're questions suggest you are just starting with Cascasdes asking for samples when you clearly haven't put in the time to look around to see what's already available is a bit off. Just a quick search in the documentation would teach you about the visible property or the removeAction function
Please read the documentation on ActionBars and look at the samples already available...