Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8399645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:21:36+00:00 2026-06-09T21:21:36+00:00

Developing on the blackberry (OS 7.0) and I have an extended Vertical Field manager

  • 0

Developing on the blackberry (OS 7.0) and I have an extended Vertical Field manager created as such:

_myVFM = new MyViewManager(Manager.USE_ALL_WIDTH | Manager.USE_ALL_HEIGHT | Manager.VERTICAL_SCROLL){};

However, when I scroll the view, the virtual scroll view size appears way too big.
i.e, I can scroll quite alot further down than is needed and I cant work out why?

Any body any quick ideas? I do have a background image in there that is created as such:

public void paint(Graphics graphics)
{
    Bitmap backgroundBitmap = Bitmap.getBitmapResource("bg.png");
    Bitmap newBackground = new Bitmap(Display.getWidth(), Display.getHeight());
    backgroundBitmap.scaleInto(newBackground, Bitmap.FILTER_LANCZOS, Bitmap.SCALE_TO_FILL);

    graphics.clear();
    graphics.drawBitmap(0, 0, Display.getWidth(),            
             Display.getHeight(), newBackground, 0, 0);                 
    super.paint(graphics);
}

Please and thanks,

Burrows

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:21:38+00:00Added an answer on June 9, 2026 at 9:21 pm
        public MyScreen() {
        super(NO_VERTICAL_SCROLL);
    

    I managed to fix the issue in my extension of MainScreen using ‘NO_VERTICAL_SCROLL’ style parameter

    Combined with Rupak’s suggestion of setting the Background in the constructor of my Vertical Field Manager rather than overriding paint (
    https://gist.github.com/3248319)

    everything seems Good now – thanks all for your help.

    Burrows

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a BlackBerry app in which users can purchase virtual goods (such
I have been developing a BlackBerry application for about 7 months, and I have
i am developing app in Blackberry which have GPS Functionality. so first i want
I am developing a blackberry app and I am new to Blackberry. I am
I am developing web pages for blackberry 8700. I have few 5 digits or
i am developing a simple calculator application in blackberry now, and i am new
I am new to mobile application technologies.... We are developing applications for iPhone/android/blackberry/windows mobile.
I am developing a BlackBerry application that should work on OS 4.5+. I have
I'm developing a Java app for blackberry, in this app I have a login
i have been working on developing an blackberry application. as per now i want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.