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
Deepu_George_Jacob
Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

How to remove focus of browserfield?

hi,

     I am developed a page half of the page is noraml field and remaining part of that is broswer field , all the components are scrollabile(ie placed all components in vertical field manager). 

 

 

My problem is while I am loading that page it automatically scrolled and the focus goes to Browser field (ie while i am scrolling upward non broswerfield componets are showned ).

 

I think this is becasuse of the higher priority of the field.. how to solve this problem ?? I am trouble in this. please help me ..

 

I am also tried These settings of the vertcal field manager

 

1.myVericalField.setVerticalScroll(TOPMOST);

2.scroll(Manager.TOPMOST);

3. add focus to the toper field.

 

 

What is the solution to solve this issue ... please help 

 

 

Thanks

Deepu

Please use plain text.
Developer
superdirt
Posts: 541
Registered: ‎05-17-2009
My Device: Not Specified

Re: How to remove focus of browserfield?

Try using NullFields set with Field.FOCUSABLE set, and place the fields throughout the VerticalFieldManager.

 

I think focus is moving to the BrowserField because it is the only focusable field in the manager.  

 

Scott

Please use plain text.
Developer
Deepu_George_Jacob
Posts: 235
Registered: ‎12-13-2011
My Device: Curve 9380
My Carrier: Vodafone-IN

Re: How to remove focus of browserfield?

No, Above the browser field i am added two label fields which also have focus... 

Please use plain text.