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: 253
Registered: ‎08-14-2010
My Device: Not Specified

how framework decide Field is active?

Hi ,


I created a custom butto extending  Field. But when I set background for Active state it does not use it.


How framework handle the active state? is there any trick to show active state in a cutom field?



Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900
My Carrier: MTN

Re: how framework decide Field is active?

Could you post a code snippet so we can see what you're doing? It will make it easier for people to help you.

Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: how framework decide Field is active?

'Active' means 'focused and pressed'. The field is in this state when it is focused, between navigationClick and navigationUnclick. Hope that sheds some light on your problem.


You might want to define the background for focused instead of active.

please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!