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

Posts: 74
Registered: ‎07-17-2008
My Device: Not Specified

Adding a menu item to a fields context menu

Hey there, I'm trying to add a menu item to a fields context menu, so that when someone hits menu on this field, an extra menu item will pop up


what I tried doing is this.


I have a EditField named field, and a MenuItem named menuItem


so i tried doing 


before adding the item to the editfield


but this didnt work


I'd me happy to get some help with this

thanks, Omri

Posts: 16,985
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Adding a menu item to a fields context menu

overwrite makeContextMenu on the field, similar to makeMenu on a MainScreen

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter