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: 33
Registered: ‎05-14-2010
My Device: Blackberrry Pearl 8320
My Carrier: Unbranded

Focusing a Manager

I want to focus a whole manager at once.

Is there an easy way to do it?

I was thinking I could put a nullfield in the manager, and set isFocusable() for all the other fields to false. So I would jump from nullfield to nullfield. However Im not sure how will I make it look like all the fields are focused (i.e higlighted)


Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Focusing a Manager

The only way I could think to do that is to make a custom manager and fields or at least a custom manager and override drawFocus on each of the fields to make it public so that you can call it directly in the paint method of your custom manager.

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Focusing a Manager

You question has been asked before. 


The last solution I remember involved having a NullField in the Manager,and using it to set the background color for the Manager so the whole of the Manager looked like it was in focus.


Search round - you will probably find this Thread.