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
Contributor
Hitman47
Posts: 33
Registered: ‎05-14-2010
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)

 

Please use plain text.
Developer
Developer
CMY
Posts: 1,115
Registered: ‎02-10-2009
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.

Please use plain text.
Developer
peter_strange
Posts: 17,649
Registered: ‎07-14-2008

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.

Please use plain text.