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

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.

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

ActionItem visibility



I've been trying to dynamically hide/unhide an ActionItem but the 'visible' property doesnot exist for ActionItem...only 'enable' exists which simply grays out the item. 


Has anyone been able to hide/unhide action items?


It's a common UI usage on older BB devices to only display meaninful context menus when you select an item in a list for example:

if currently selected item has an address, show the MAPS menu (action item)

but if no address exists, do not show the MAPS menu (action item) as it is useless




Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: ActionItem visibility

Hi there,


Have you tried removingthe actionItem conditionally instead?





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

Re: ActionItem visibility

Haven't tested that one! Working on that now Smiley Happy 


Any hint on how to use this in QML though?

Posts: 1,750
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV, DTEK
My Carrier: Telekom.de, O2, Vodafone

Re: ActionItem visibility

removing / adding from QML doesnt work yet


ActionItems and Tabs don't have a property visible - only enable true/false

(and enable false only dimms the icon not the text)


there are Issues reported by me in IssueTracker - please vote

BBTEN-252 and BBTEN-251



ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS, W10)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Posts: 174
Registered: ‎03-05-2009
My Device: Dev Alpha
My Carrier: -

Re: ActionItem visibility

thanks! i've up-voted your feature request.


i will stick with enable/disable for the time being until this is resolved.


hope that a rim representative here pushes this feature for the next release!!!