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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

VerticalfieldManager scroll not disappearing

Hi 

I am creating a tab manager with 3 buttons. on clicking each button a verticalfield manager named contentmanager is created and contents are added to it.

The problem is in one of the screens I am displaying the listfield with scrol. The scroll arrow as are displayed in the screen When I navigate to the the next option I delete the contents from the manager using contentmanager.deleteAll() and then add the new contents. The problem is after adding the scrollable content if click the tab button where there is no scroll required. The scroll arrows still remains there in the new tab option. 

If I displaya dialog or Status.show on clicking the tab button this issue is not happening. If anyone has faced similar issue please help me out. Is it has something to do with screens.

Developer
Posts: 264
Registered: ‎06-04-2009
My Device: Not Specified

Re: VerticalfieldManager scroll not disappearing

Any help on this.
Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: VerticalfieldManager scroll not disappearing

You may not think this is relevant, but I recommend that you do review this, looking at it very closely.

 

http://supportforums.blackberry.com/t5/Java-Development/MainScreen-explained/ta-p/606644

 

You also need to be careful about the extent you set in custom Fields,  Check all these are reasonable.

 

Check you haven't added any non focusable Fields too. 

 

You might add some code to check the 'size' of the VFM - check its virtualheight. 

 

But the best approach is to simplify the issue you are seeing, removing all your specific code and using standard RIM stuff, then add back in your code until the problem is replicated.