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
Highlighted
Developer
Posts: 33
Registered: ‎04-25-2009
My Device: Not Specified

Allow Context Menu in PopUp Box

Hi,

I want to provide a ContextMenu for a ListField which is embedded in a PopupScreen. Is this possible at all?

 

Thanks,

hhessel

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

Re: Allow Context Menu in PopUp Box

a menu is a popupscreen. having two popupscreens is not easy to manage. you may be successful with a global popupscreen as these can have a priority.
----------------------------------------------------------
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
Developer
Posts: 33
Registered: ‎04-25-2009
My Device: Not Specified

Re: Allow Context Menu in PopUp Box

UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { UiApplication.getUiApplication().pushScreen(_BigWindow); } });

 

That's the code I'm using. Do you know which priority I should set to get both, menu and popup, on the screen? thanks!