If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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

Web and WebWorks Development

Reply
Developer
ibarrera
Posts: 588
Registered: ‎05-29-2009
My Device: 9100

Remove MenuItems

[ Edited ]

How can I remove all the menuitems using Widget API? I tried using blackberry.ui.menu.clearMenuItems , but "Switch application" and default close are still there. 

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Remove MenuItems

Switch application and close are default menu items that cannot be removed using the WebWorks API

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Contributor
bbtests
Posts: 23
Registered: ‎02-20-2011
My Device: Not Specified

Re: Remove MenuItems

[ Edited ]

But then... can we still remove then using ordinary api's creating a javascript extension?

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Remove MenuItems

It is probably possible.. without digging into the Java API I couldn't say for sure off the top of my head.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.