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
arkadyz
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: Focus to BitmapField

layout() of a Manager calls its sublayout, so you have an infinite recursion resulting in stack overflow. What you need is a layoutChild call with the desired parameters. It is not a very well covered topic, but there are a couple of knowledge base articles dealing with it:

Create a custom layout manager for a screen

How to Extend Manager

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Please use plain text.
Developer
huddarveena
Posts: 103
Registered: ‎12-12-2011
My Device: Developer
My Carrier: Robosoft

Re: Focus to BitmapField

Hello,

 

Can anyone please tell me why EditField is not losing the focus until Enter is pressed in virtual keyboard. But the same code works perfectly in non-touch device for touchpad navigation, through which focus is given to BitmapField.

 

Please explain this behavior it is bit confusing.. Thanks.

Please use plain text.