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
Developer
Posts: 330
Registered: ‎02-25-2009
My Device: Not Specified

Additing submenu in menu list

Hello,

 

I have created menu using MenuItem, Now i want to have submenu it those menus.

ex. when i click for menu i get menus like 1) mode 2) size 3) close 

now i want submenus in "mode"  like 1)night 2) day

 

Can anybodu suggest something.

 

Thanks in advance.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Additing submenu in menu list

AFAIK, This is not possible using MenuItem.

Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 330
Registered: ‎02-25-2009
My Device: Not Specified

Re: Additing submenu in menu list

Ok

 

but i want this scenario .. any other solution ?

 

Thanks in advance

Highlighted
New Developer
Posts: 11
Registered: ‎01-21-2009
My Device: Not Specified

Re: Additing submenu in menu list

may be you can simulate a submenu if you create may different menu and when you click on menuitem you replace the current menu by your sub menu.

 

I think it's a possible solution which would work

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

Re: Additing submenu in menu list

this is not possible by using the default menu. you can, however, replace the default menu painting by your own subroutine, using well-places popupscreens. would be some work, but if you add it to your UI library you can reuse it for every project and have something unique.
----------------------------------------------------------
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