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

New Developer
Posts: 4
Registered: ‎01-05-2009
My Device: Not Specified

why does the control out of visible area on screen can't be focused?

Hi all,

please help me solve this problem. My screen has overriden Manager object which hold some custom Fields I dynamically add at runtime.  These custom field are focusable and i call  'overriden Manager'.setVerticalScroll() method to make the screen update and show the new  added field display on visible area of 'overriden Manager'. 

The view is ok  but when i click to the new added custom Field, the strange thing happens.  That fied cann't receive focus and the screen either show blank or do nothing.

It seems that the new added field 's position is over the visible area of overriden Manager and cann't receive focus. Only some first fields in overriden Manager which is in visible area can receive focus.

Thanks in advance any help!!!


BlackBerry Development Advisor
Posts: 15,871
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: why does the control out of visible area on screen can't be focused?

What BlackBerry model and handheld software version are you testing on?  You can find this under Options, About on the BlackBerry handheld.  Can you post a screen shot and sample code?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.