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
duksunkim
Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified

nested Menu

Hi all,

 

I need some help.

Below is what I'm tring to do,

----------------------------------------

icon11      icon2      icon3   icon4             <--- HorizontalFieldManager1

----------------------------------------

submenu_icon1      submenu_icon2            <---- HorizontalFieldManager2

----------------------------------------

BitmapField1

TextField1                                             <----VerticalFieldManager1

fields...

----------------------------------------

 

when trackball is over "icon1" highlight icon1 and submenu_icon1 and if trackball is over icon2 show tree fields also and so on.

 

But the problem is that I can highlight subMenu_icon1 but I can not highlight icon1 and submenu_icon1 same time.

How can I do that?

Does anyone has example for this or help me?

 

 

 

 

 

 

Please use plain text.
Developer
simon_hain
Posts: 15,874
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: nested Menu

only one field can have the focus at a time. you can, however, simulate having the focus by overwriting the paint method and drawing the focused state yourself.
----------------------------------------------------------
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.