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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
hhessel
Posts: 33
Registered: ‎04-25-2009

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

Please use plain text.
Developer
simon_hain
Posts: 14,064
Registered: ‎07-29-2008
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
Please use plain text.
Developer
hhessel
Posts: 33
Registered: ‎04-25-2009

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!
Please use plain text.