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

Java Development

Reply
New Developer
pavelm
Posts: 4
Registered: ‎07-27-2009
My Device: Not Specified
Accepted Solution

Removing the Get Suggestions and Add To Dictionary context menu items

How can I remove the "Get Suggestions" and "Add To Dictionary" context menu items for an EditField?

I have an application that targets the 4.2 API but running this application on 4.7 API (TOUR) shows those two new context menu items. Is there some way to disable the context menu items from showing up? I've tried setting the EditField.NO_LEARNING flag but that doesn't work.

 

Thank you.

Please use plain text.
New Developer
pavelm
Posts: 4
Registered: ‎07-27-2009
My Device: Not Specified

Re: Removing the Get Suggestions and Add To Dictionary context menu items

Found the solution. You have to set the Field.NON_SPELLCHECKABLE flag on the style.

Please use plain text.