Cannot scroll through the content of the page.

Hello.

I have a page that has a great picture on it and I want the user to be able to scroll all the way to the top of the image to the bottom of the image. It is not letting me do this.  Only on the BB Storm can I do it.

I put a LabelField Focusable at the bottom of the screen, just to try to get attention, so I can scroll the screen down, but it just goes straight to the bottom of the screen.

Here is the code:

public class findRecipe extends MainScreen
{
    private VerticalFieldManager _manager ;
    BitmapField bitmapField, bitmapField1;
    CustomButtonField2 submitButton;

    public findRecipe()
    {
        try
        {

            FontFamily Global = FontFamily.forName("BBGlobal Serif");
            Font appFont = Global.getFont(Font.PLAIN, 8, Ui.UNITS_pt);
            setFont(appFont);

            _manager = (VerticalFieldManager)getMainManager();

            Background bg = BackgroundFactory.createSolidBackground(0x000000ff);
            _manager.setBackground(bg);

            FieldChangeListener home = new FieldChangeListener()
            {
                public void fieldChanged(Field field, int context)
                {
                    MainPage_Recipes find = new MainPage_Recipes();
                    UiApplication.getUiApplication().pushScreen(find);
                }
            };

            FieldChangeListener calcScreen = new FieldChangeListener()
            {
                public void fieldChanged(Field field, int context)
                {
                    Calculator find1 = new Calculator();
                    UiApplication.getUiApplication().pushScreen(find1);
                }
            };

            HorizontalFieldManager fieldy = new HorizontalFieldManager(Field.FIELD_HCENTER);
            ButtonField done = new ButtonField(" Home Page ", Field.FIELD_HCENTER);
            done.setChangeListener(home);
            ButtonField cancel = new ButtonField("Calculator", Field.FIELD_HCENTER);
            cancel.setChangeListener(calcScreen);
            fieldy.add(done);
            fieldy.add(cancel);
            setStatus(fieldy);

            Bitmap logoBit1 = Bitmap.getBitmapResource("splash12.png");
            bitmapField1 = new BitmapField(logoBit1, Field.FIELD_HCENTER);
            add(bitmapField1);

            Bitmap logoBit = Bitmap.getBitmapResource("period1.png");
            bitmapField = new BitmapField(logoBit, Field.FIELD_HCENTER);
            add(bitmapField);

            add(new LabelField("Focusable Field", Field.FOCUSABLE));
        }
        catch(Exception e)
        {

        }
    }
    protected void makeMenu(Menu menu, int instance)
    {

        menu.add(_close);
        menu.add(_cancel);

    }
    private MenuItem _close = new MenuItem("Close", 110, 10)
    {
        public void run()
        {

            Dialog.alert("Goodbye!");

            System.exit(0);

        }
    };
    private MenuItem _cancel = new MenuItem("Cancel", 110, 10)
    {
        public void run()
        {

        }
    };

}

Thanks in advance

Scientist

Hello

See the link below

http://supportforums.BlackBerry.com/T5/Java-development/large-bitmap-image-scrolling-problem/m-p/214...

Tags: BlackBerry Developers

Similar Questions

  • Scrolling the mouse not working not not to scroll through the pages. cannot change the Volume control. How to fix?

    Original title: scroll of the mouse wheel only adjusts the volume. How to scroll through the pages again?

    Using the wireless mouse (Silvercrest MTS2218-m with win 7 x 64) and scroll wheel is no longer made scroll page up and down in any program. Only, it adjusts the volume. How to scroll through the pages again?

    Already checked the settings in Control Panel > mouse nothing obvious here to change this annoying feature. And have already uninstalled the driver for the mouse in Device Manager but no change. have also stopped and started several times laptop.

    Close to the scroll wheel is a dpi button, which can also be used to pass
    between normal mode and media holding for 3 seconds. In media mode
    the volume control wheel and does not scroll.
    Read the manual... ;-)

  • You can change the way that you scroll up and down pages.have just installed the new update from apple and the way in which you have to scroll through the pages in firefox has c

    After you have installed the latest version of the software update apple has changed the way you scroll through the pages. I would like to consider to have a box at the top and bottom of the screen that you use for scrolling. Any help would be greatly appreciated.

    On Mac, scroll bars may be hidden and are showing them when you scroll down the page, so you can see the current scroll position.

    The idea is that a Tablet is used that does not need to be visible and therefore more screen real estate for the navigation area, scroll bars.

    You can make scroll bars always appear:

    System Preferences > General > Show Scroll Bar > Choose "Always"
    
  • cannot scroll on the page, only sidebar

    I have a HP Pavilion notebook g7-1260us nine and I can't scroll the page. It scrolls in the sidebar.

    I went through every possible setting that Synaptic has on this machine and I can not find. They show a beautiful demonstration, but simply cannot happen.

    Hello

    Download and install the latest driver for Synaptics TouchPad here and restart the system.

    Note:

    Scrolling two - finger is enabled by default. If you want to use only one finger to scroll, check out the link below:

    How to change two - finger scrolling on One - Finger scrolling in Synaptics TouchPad software.

  • How to add 'next' and 'previous' buttons to scroll through the pages of detail point web app?

    My client application buttons "previous" and "next" to go to the details page of an element of web application to the previous/next item details page in the same web application. What is the best way to implement that? I know that you can add paging to a list of items on a page web app, but, since you are already viewing the detail page generated by the web application, is it possible to create something similar to the order of the day? Any information would be appreciated. Thank you!

    No, said Mihai is not out of the box solution, it is not too difficult, but you need a few basics of liquid and js.

    Capture the URLS of all the webapp in a table then by locating the position of the current element in the table just navigate back or forward through it.

    It may be useful

  • Portege M400 - cannot navigate through the pages of BIOS

    Hello

    I bought a M400 Tablet system and having a lot of trouble with the BIOS.

    I am able to get into the BIOS, but it seems to be limited.
    It is said there are three pages, and to use the pgup and pgdn to edit pages, it does not work.

    I tried with a USB keyboard and remove the keyboard of the Tablet, but it does not work either.
    The laptop doesn't have a SWSetup installed on it. That I download from the Web site but say that the BIOS is incorrect.

    I decided to Flash the BIOS.
    Windows downloaded BIOS flash and say is that the BIOS is incorrect.

    I would like to reinstall the OS, but for the moment, I don't then so that it can boot from the CD that I can not change the boot sequence.

    Can someone help me please.

    Hello

    That s strange.
    First of all, you can boot from the CD by pressing F12 and then you could choose ODD as a boot device.

    Secondly it s interesting to know whether certain passwords (user or supervisor password) have been defined, because this kind of password could restrict by changing BIOS options.

  • CC 2015.4 LR. Cannot scroll through the images with the mouse wheel.

    I just upgraded to LR CC 2015.3 2015.4. Now I can't use my mouse wheel to navigate between images in the library loupe view. It worked fine in each version before.

    Thanks Jim. Opening and closing preferences again to work. Scrolling is fine now.

  • Cannot scroll through the slideshow to format the phone.

    When I try to scroll downwards or upwards in my version of phone why _?

    I guess that's on an Android device?

    There is a known bug that prevents scrolling when touch is on a slide show widget or a publication that has active call. This will be fixed in the next update of Muse, reason later this year. So far there only workaround solutions are either disable by scanning in the Options of the Widget and use the next/previous buttons, or leave a space on either side of the image that can be swiped for scrolling.

  • Passport system: Add support for scrolling through the physical keyboard

    Hi guys,.

    as you know peripheral Pasport is the new support feature: scrolling in the list view/Scroll through the physical keyboard. It seems that this function should work automatically, but it is not working at all in my application. It works only partially to control the display of Web pages and only on the pages of the subsites of my web content.
    Looks as the root cause of this issue is the list view must focus to handle keyboard events. OK, so the workaround can be call requestFocus() on the list view. It's a job but only until I do not touch the other control or scroll this list via the screen point of view! Or for example my app can show popup by clicking on list view and when this popup will be rejected the focus won't return to the display of the list...

    So my question is what good way to add support for this feature? Do I really need to play with requestFocus()? Or maybe there's a simple way to always keep the focus on the display of the list?
    I really need help.

    I've added a few features such as

    requestFocusForScrolling()

    then get the signal of this active tab has changed, you can call this function to get the new focus

    or on NavigationPane if returning to onPopTransitionEnded () calling the requestFocus on page function now on top

    In my Pages, I always have a few features added like connect(), disconnect() cleanUp() init() and now also at the request of focus. In a few pages, these functions are empty, but I can use them in the generic functions where I only got one Page

    ----

    not easy to touch OS oriented to add a key activated area outside the screen

    It always depends on the field with the development: think of an Image when you change the size of gestures touch on keyboard or take a look at sales-charts where you "scroll" in the months of keyboard

    Same pages may also have ScrollView and/or one or several ListView - it's do you stunts where is the update for keyboard gestures.

  • control keyboard to scroll through the window of the observer?

    I use the current version of mail.app (9.3) in OS X 10.11.5 (El Capitan).

    I would like to be able to do basic operations of reading email with the keyboard controls.    There are keyboard shortcuts to create new messages, reply to or delete messages, move up/down in the list of messages in the message list pane, etc.   That's great.   But for most common task of simply read messages, support for the default is keyboard commands.

    In previous versions of Mail.app, I could use the arrow keys to move through the message list window and I couldn't use the previous page and next page controls (up arrow fn and fn-Basel on macbook pro keyboard) to scroll the message up and down view pane.   It was also possible to scroll up/down in message window using the space space and shift.   The page-up/page-down and SPACEBAR space/shift conform to the General conventions of Mac, including Safari.

    In El Capitan, it seems that this feature has been removed.  Instead, previous page and next page just cause scroll through the message list window.   Space does nothing.   A work around of all kinds is to hit the tab to move the keyboard focus in the list of messages display message, followed by commands to scroll, and then either hit tab twice or press shift + tab (but no space or shift-space) to focus back to the list of messages again.    It is not practical for an operation that I easily hundreds of times every day.

    Anyone has any ideas it is possible to restore the former function?   Hacks like hidden messaging preferences settings?    ... or a way to use the Resource Editor utility (what is the sort of thing even exist anymore?) to modify the application?

    Was it a former function that I have just forgotten or abandoned by Apple?   Or was it a bug or an oversight that it was omitted in the new version?     Doesn't have Apple deemed incompatible with the new directives of the interface?   This feature replaced some other keyboard shortcut that I don't know everything?    Y at - it a 3rd party plugin or something that I can use?   Any ideas would be appreciated.

    Space bar always works for me.

    Opt + arrow up / Dn also works.

    I don't know which would not interfere with these things. Perhaps a third-party app, but I don't know what.

    Have you connected outbound/inbound or restarted?

  • Cannot scroll inside the drop down Menus

    I just got a new laptop (Windows 7 Home Premium 64 bit) HP, installed Firefox 11 (now updated to 12) and discovered that when using the touchpad (Touchpad Synaptics v8.1. Driver provided by Synaptics, version 15.3.29.0 as of 10/13/2011), I can't scroll inside the drop down menus.

    To replicate, go to this link: http://sacramento.craigslist.org/sss/

    Click on the drop down menu to the search category. Use the touch pad to scroll through the list. Mine closed list and returns focus in the browser instead of scrolling of the list. It then scrolls the window of the browser instead. This works fine in IE. I tried the things:

    Safe mode
    Unchecking scroll smoothly
    Uncheck auto-scroll
    Uncheck the hardware acceleration

    And about all the various combinations of the above things. I also tried to restart Firefox every time I made a change. Nothing seems to solve this problem.

    Oddly enough, if there is a window of text within the page (as I write this), I can scroll than fine. Once I move my mouse out of the box, it scrolls the homepage very well. I don't think that it is a matter of the development following the mouse, there something to scrollable drop-down boxes that specifically seems.

    Also, I must point out that all the pages I have problems with work well in IE how they SHOULD work in Firefox.

    I had this exact problem, the same features of HP and the driver Synaptics. I went to synaptics site and downloaded their latest driver which is lower 15.3.29.0 for some reason any. There 15.2.20, I got this one for 64 bit since that's what I have. You must uninstall the 15.3.29.0 first because it is "newer". He now works properly in FF and IE and everything else. If for any reason any the last FF has a confrontation with the latest version of the synaptics driver and FF devs had to include a fix in the next patch.

  • Browse through the pages

    Hello

    I'm creating a native application that has a list of items. When an item is selected, navigates to a particular page. I could not navigate to another page. Please help me with the code to navigate through the pages. Here is my code.

    import bb.cascades 1.0
    NavigationPane {}
    ID: head

    {Page}
    content: {container
    ImageView {}

    }
    {To ListView
    dataModel: {XmlDataModel}
    Source: "items.xml".
    }
    listItemComponents:]
    {ListItemComponent}
    type: "header.
    {To header

    Title: ListItemData.title
    subtitles: ListItemData.subtitle
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: P

    }
    },
    {ListItemComponent}
    type: "listItem".
    {StandardListItem}
    Title: ListItemData.title
    Description: ListItemData.subtitle
    status: ListItemData.status
    imageSource: ListItemData.imagepath

    }
    }
    ]
    onTriggered: {}
    var selectedItem = dataModel.data (row);
    navigateTo (one)

    }
    }

    }
    }
    attachedObjects:]
    {Page}
    IDdon't
    {Of container
    {Label
    text: 'pineapple Honey Bee ".
    }
    ImageView {}
    imageSource: "asset:///1.jpg."
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: P

    }
    }
    }
    ]
    }

    If you want to make a page for each ListView item then I suggest you take a look at the cookbook example that uses dynamic loading to do exactly this.

  • Browse through the pages and add the text box

    I'm trying to navigate through the pages of a document (to simplify, let's say there are 5 pages) and perform certain tasks (for simplicity, say add a text box) on each page.

    Using VBScript, my thoughts are something like:

    Define myPages = myDocument.Pages

    I have = 1

    do until I have 5 >

    myPages.Item (i). Select()

    Set myTextFrame = myDocument.ActivePage.TextFrames.Add

    myTextFrame.Contents = "Hello, World".

    i = i + 1

    loop


    should work.


    But the best I can do (when I'm not getting syntax error messages) is to get the written text several times on one page.


    I know that there is a simple solution that I'm missing.


    Any suggestions?


    Thank you.

    You should probably add () after adding

    P.

  • Can I do a button change anchor link when you scroll through the site?

    I'm doing a scrolling site... and I have navigation buttons on the right, a full menu, but also a '1 topic upward' button and the button "1 heading downwards.

    Is it possible that I can have these buttons change anchor link when you scroll through the site.

    Example:

    I'm at home, then I press "1 heading down" and scrolls to the next topic on the site, but then I can't change the button to create a link to the lower anchor, then the button becomes useless after 1 press.

    Is it in any way possible in Muse to change the link?

    Hello

    You can try to create different buttons on the positions of the page where the scroll will be active with separate button actions. For example, you click on "I am heading down", page scrolls and there is another button set with "Next topic down", click on, it would scroll the page plus and the same on the length of the page.

    Button with anchor link scroll to the bottom of the page can not be used for different anchor links, creation of different buttons with anchors is the solution.

    Thank you

    Sanjit

  • Mac - FF 39 - no scrolling on the page?

    Since the upgrade to v39 on Mac (Yosemite), there is no scrolling on the page. When I try, the right scroll bar appears. This scroll bar is the only way to scroll the page. Is there a solution?

    Confirming the solution: new installation of Firefox 39. On page scrolling works now!

    Thanks to all who gave advice.

Maybe you are looking for

  • virus message

    Tengo una alerted virus y sell me a message of Quebec instale mackeeper... cuando en the pag in-between. seriales.us

  • iMessage displays do not Contact on Mac names

    Hello I need help. I tried to turn my settings for iCloud on and outside, on my mac and on my phone but my contact names still do not appear in the iMessage on the computer application. What else can I do to fix this? Pretty weird, my contacts on my

  • Compaq Presario does boot

    The keyboard lights on startup, and I get the Compaq splash screen on my monitor. But none of the keys work including the F start keys. I disconnected and reconnected everything. No CD in the drive. Any link to a menu troubleshooting?

  • vmcli still holding

    Hello Im trying to mount foo.iso (3 MB) on a remote host via the utility vmcli of idrac7. I ran the following: / opt/Dell/srvadmin/bin/vmcli - r ip u uname Pei pwd - c foo.iso Security Alert: certificate is invalid - certificate of self-signed Contin

  • A lot of very slow = :-(LabelFields

    Hi all I have a screen with a VerticalFieldManager. I'm running in the speed problems in two common cases: (1) creating the labelfields put in the optimization of resources. Here is some pseudo-code of what I do: labels = new LabelField[200]; // this