VerticalFieldManager and scrolling

I have a VerticalFieldManager that I use to set up a scroll pane. My intention is to have the component DO NOT scroll until enough lines are added to the need for scrolling. Currently, as soon as I add an element (a HorizontalFieldManager) for the optimization of resources, the scroll arrow appears and I can scroll the only existing line out of sight, and I don't want that to happen.

I tried the example found here:

http://supportforums.BlackBerry.com/T5/Java-development/implementing-a-standard-style-scrollbar-on-a...

This example does not work for me, the custom scroll bar never shows up, and I get the same behavior by default VFM.

Can someone tell me how to do the VFM not scroll until the visible part is full?

Thank you!

I found through debugging that by default, the height that was passed into it was a BFN (big freaking number), so he always thought the display size has been less than real estate available (so no need to scroll). I changed my builders to spend in the area that has been assigned by the Manager of container, and the scroll bar appears and the behavior is reasonable.

One last question, I still seem to get the default value of scroll arrows, and it is not clear to me if (as in the example), they are supposed to be there or not. The constructor calls super() with NO_VERTICAL_SCROLLBAR, but they always appear.

Tags: BlackBerry Developers

Similar Questions

  • Only a VerticalFieldManager in scroll screen

    Hello

    I have a class that extends the screen. This screen contains a HorizontalFieldManager with a nested VerticalFieldManager. The VerticalFieldManager is set to scroll. I want to do the VerticalFieldManager with scrolling to the point where the VerticalFieldManager is the ONLY thing that scrolls. Currently, the entire screen will scroll.

    I was able to do this successfully by the extension "PopupScreen" instead of "Screen" and to the specification in the constructor:

    super(new VerticalFieldManager(NO_VERTICAL_SCROLL | NO_VERTICAL_SCROLLBAR),Field.FOCUSABLE);
    

    However, it is not good, because I need to use the setStatus() method, which I believe is that by extending the screen accessible.

    Is there anyway that I can achieve everything by extending the screen and having access to setStatus()?

    Thank you!

    Solved with super (NO_VERTICAL_SCROLL);

  • Problem with onFocus and scrolling

    I have a table built with a VerticalFieldManager and have implemented the standard shortcut scrolling. There was a problem where the onFocus event has not fired on my table cells when 'b', 't', 'space' shortcut keys have been used (though even the focus change). I had to add the fireFocusHack() to fix. I wonder if it isn't something I am doing wrong or is this a bug of BB OS? It works without the hack in the simulator of 8330 I use JDE 4.5. The notch is necessary on a Bold 9700 running 5.0 and a 4.6 running curve.

        public boolean keyChar( char c, int status, int time ) {
    
            if (tableCellHasFocus()) {            Field f;            switch( c ) {                case Characters.SPACE:                    if ((status & KeypadListener.STATUS_SHIFT) == 0) {                        scroll( Manager.DOWNWARD );                    } else {                        scroll( Manager.UPWARD );                    }                    fireFocusHack();                    return true;                case 't':                    scroll( Manager.TOPMOST );                    fireFocusHack();                    return true;                case 'b':                    scroll( Manager.BOTTOMMOST );                    fireFocusHack();                    return true;            }        }
    
            return super.keyChar(c, status, time);    }
    
        private void fireFocusHack() {        Field f = table.getFieldWithFocus();        if(f instanceof MessageCell) {            MessageCell tc = (MessageCell)table.getFieldWithFocus();            tc.setFocusHack();        }    }
    
    public class MessageCell {
    
       ....
    
        public void setFocusHack() {        onFocus(0);    }...}
    

    I found this one. Table cells were VerticalFieldManagers which contained a focusable RichTextField. It was my onFocus() and onUnfocus() methods were on optimizing resources aren't the RichTextField. The funny thing is that it has worked well for manual/trackball scrolling.

  • While on a page web, using one of several browsers, it will take off and scroll down without any input from me. Seems to be intermittent but annoying. All solutions?

    While on a page web, using one of several browsers, it will take off and scroll down without any input from me. Seems to be intermittent but annoying. All solutions?

    This could be a case of interference.   Read this document about it.   Think about the suggestion of new electonic or other nearby wireless devices.   I recently read the someone pen wacom being the culprit.

    Potential sources of interference Wi - Fi and Bluetooth - Apple Support

  • Satellite L50 - B - lost touchpad pinch and scroll functions

    One day I realized that I had lost pinch and scroll on my touch pad functions. Do not know why.
    So I tried to install a Synaptics Touchpad driver. This provided the missing functions but got delayed cursor and the sensitivity of the touch pad is limited to a certain place. So I uninstalled the synaptic driver again.
    The sensitivity has published healed but I still had no function of pinching and scrolling on the touchpad.
    So, I went on the download site of Toshiba and learned that the pilot of the ALPS was the original driver.
    I tried to install this driver (as requested for 64-bit).
    The installation seems to go smoothly. After start-up, there is still no functionality of pinching and scrolling and anywhere the driver is found neither in the list programs or added to the 'mouse' screen in the functions of the system folder.

    How can I get that pinch, zoom in and do scroll back to my touchpad functions?

    This looks like interference of program, you will need to perform a clean boot and disable the firewall and antivirus and then try and install the driver. Here is a description on how to perform a clean boot, https://support.microsoft.com/en-us/kb/929135

  • Remote control stop scrolling left and right while he needed video first put in pause and scroll any help?

    Remote control stop scrolling left and right while he needed video first put in pause and scroll any help?

    It was an update designed by tvOS 9.2 to the user of the address which have been accidentally scouring...

    http://www.CultofMac.com/420160/scrub-through-video-on-Apple-TV-in-TVos-9-2/

  • T410 AiO customer CAPS, NUM, and scroll keyboard stop does not work with PCoIP view desktop computers

    We have problems with our t410 AiO customers, where the CAPS, NUM and scroll stop lights on the keyboard do not work with view PCoIP desktop computers.

    I found the below information and a work around:
    If you use the Protocol PCoIP to display on a client system Ubuntu 10.04, the CAPS Lock, NUM Lock, and Scroll Lock lights on your keyboard do not work with desktop view. Although the lights do not work, the keys themselves work.
    Solution: Set the following configuration in a configuration file, such as/etc/vmware/config:
    mks.keyboard.useXkbSetNamedIndicator = 'TRUE '.

    The problem is this difficulty is already in place via the latest version of the HP, Z6A440, software that is installed within our Organization.

    What I discovered, is that the model that we initially bought for the test doesn't have this problem.  However, the models that we ordered since that time, DO have the problem and the solution above does not work as expected.

    The model originally ordered for test is still a customer of IOA t410... but there are 4 "under models' for customers of IOA t410... that we have to test is a H2W20AA, while those we receive and distribution are the H2W21AA model.

    No idea why, when connected to the desktop from view, that models of H2W21AA have this problem?

    H2W20AA is with Teradici PCoIP optimized, which can support PCoIP better, but H2W21AA is not with Teradici. That's the difference.

    However, the issue that you are experiencing does not matter in fact, we have not heard of this problem before. I would suggest that you do the following to see if there is no change:

    1. Go to download the latest VMware View 2.3.4 for t410, follow the instructions to install.
    2. If suggestion 1 does not work for you, try to connect to another VM group or set up a new machine virtual clean
    3. Call HP service center to save your problem for further investigation if the suggestion above did not work

  • Page begins to jump and scrolles to the bottom of the page.

    I had a poblem with my computer, try scrolling to the bottom of the page.  It happens in all programs.  For no reason I can see that page just started jumping up and down and scroll down.  The only way I found to stop it, so far, turn off the computer and restart it.  It works for a while before that happens all over again.  Anyone have an idea how I can stop that.

    Hello

    1. which version of the operating system you are using on the computer?
    2. what version of Internet Explorer on the computer do you use?
    3 did you do changes on the computer before the show?
    4. you use a laptop or a desktop computer?

    You can check if the problem occurs in safe mode:
    You can consult this article for safe mode.
    In Windows Xp:
    http://support.Microsoft.com/kb/315222
    In Windows vista:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
    Windows7:
    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

  • Mix and scrolling

    I use my fuse for a few weeks now and I am very satisfied. I have a few minor issues.

    One is the following: is it possible, by being in suffle mode, to exit this mode at a time and continue to listen to the album that I was led to? In the old days, my iPod shuffle does exactly this possible: to listen to the songs on my player to random exit and stay with the album corresponding to this moment to my mood. The iPod has allowed me this by a switch button. If the fuse can do the same thing, it must be at the software level. But I can't find the option.

    My second question is this: my fuse is loaded with a lot of albums. Scroll through the list of albums (or artists) seems quite possible in one direction, from A to Z. IE: if I'm looking for an album whose name begins with Z - say-, I have to scroll all the way from A to B to C, etc. It does not seem possible to take a shortcut and scroll to the top - so to speak - from A to Z. Is this correct?

    Is there anyone who can help me?

    ARDS

    Great, it's a lot easier than I thought. And it works!

  • How can I turn off the beep sound on Num lock, cap lock, and scroll lock keys

    How can I disable the beep on the cap lock NumLock and scroll stop?

    There is a good chance that you can turn off the beeps by pressing the NumLock key for a little more than 5 seconds. Here's where the ToggleKeys setting are stored.

    Go to the Ease of Access Center Control Panel and click make the keyboard easier to use.

    Search for Activate the ToggleKeys in the section make it easier to type and uncheck Activate the ToggleKeys. You can uncheck turn on ToggleKeys by pressing the Numlock for 5 seconds more.

    Be sure to click on OK endangered.

    Addendum: more information in the Microsoft Accessability tutorial.

  • My vista computer hangs when I right click on the screen and scroll again.

    My vista computer hangs when I right click on the screen and scroll again.  I guess it's a problem with the windows Explorer.  I ran virus and malware scan and also led the sfc.  I always get the same result.  If anyone has faced this problem and knows the Fox please help

    It could be a problem with the shell extensions.
    Check out these links to see if they might be able to help:

    Make a right-click is slow or weird behavior caused by context menus managers

    and

    ShellExView - Shell Extension Manager for Windows

  • I can say and scrolling with touchpad can not zoom in

    Samsung notebook PC series, can point and scroll with the touchpad, cannot zoom or turn

    Hello Shelly,

    1. don't you make changes to the computer before this problem?

    2. is the question confined to the touchpad?

    3. you download and install the drivers of more recent and up-to-date touchpad on the site Web of the manufacturer?

    Follow these methods.

    Method 1.

    This tutorial is designed to help you identify and fix the mouse, touchpad and keyboard problems in Windows.

    Mouse, touchpad and keyboard under Windows problems: http://windows.microsoft.com/en-us/windows/help/mouse-touchpad-and-keyboard-problems-in-windows

    Method 2.

    Steps to zoom.

    1 - Place two fingers on your touch pad about an inch of distance.

    2. slide your fingers on the other while maintaining contact with the surface of the touch pad. The window will zoom in.

    3-lift your fingers off the coast of the touch pad when you have reached your desired magnification.

    Steps to zoom out.

    4 - Place two fingers on the touch pad to maximum distance each.

    5. slide your fingers closer together while keeping in contact with the touchpad. The window will zoom out.

    6-lift your fingers off the coast of the touch pad when you have reached your desired result.

    Method 3.

    Press "Ctrl + Alt + right arrow" to rotate the screen and touchpad 90 degrees.

    Press 'Ctrl + Alt + arrow up' to reverse back to normal.

    Let us know if you need assistance with any Windows problem. We will be happy to help you.

  • ZV5000 needs drivers touchpad with tap and scroll

    Hello! I just reinstalled XP on a HP ZV5000 laptop. The driver has been installed for the touchpad ALPS does not support tapping or scroll functions. The installed version is 1.00 as indicated on the downloads for this model, but this driver only supports the basic functions of touchpad and has no specific settings available in the section of the control panel mouse. Before the reinstall press the keys and scrolling features worked well and had specific touchpad settings. Can someone tell me please the good driver that supports these functions. Thank you!

    Hello:

    Please see if this driver does what you want it to do.

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=ob-79212-1&prodTypeId=321957&prodSeriesId=3688868

    Paul

  • For Microsoft basic mouse (USB) transmissions, are there no function ' point to a window and scroll it?

    I have the following functionality with Microsoft Basic optical mouse (USB) in Win7

    I have several windows open. I'll just move the mouse pointer to a single window and scroll with scroll wheel. Then, move the pointer to another window and scroll with scroll wheel. My old mouse under win XP was to have this feature.
    Now with Microsoft Basic Optical Mouse I can click ON a window and scroll the content, click ON another window and scroll the content. But the point and scrolling is more convenient. Does someone can tell how it is possible with Microsoft Basic Optical Mouse? Or this function is not available?
    I installed Microsoft Intellipoint 8.2 and use WIn7 Ultimate.

    Hello

    You should contact the hardware support for assistance. It would be better to post the question on the link below:

    http://www.Microsoft.com/hardware/en-us/support/contact-us

    I hope this helps!

  • Problems with clicking and scrolling when you are using the mouse in IE

    Separated from this thread.

    Original title:

    Problems with clicking and scrolling when you are using the mouse

    I have the same problem.  My touchscreen responds but my touchpad and mouse are unable to save a click in IE.  I need to reboot to rectify.  It seems to be more common when the laptop comes out of fashion 'sleep'.   I tried all the steps above, everything is up-to-date.

    Hello Fred,.

    Thanks for the reply.

    I appreciate your efforts to resolve the issue.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    Run the hardware and devices Troubleshooter and check. Please follow these steps:

    a. press Windows + W keys, type Troubleshooting in the search box and press on Enter.
    b. click on 'show all' and then click 'hardware and devices'.
    c. click 'Next' and then follow the on-screen instructions.

    If this does not help, then use method 2.

    Method 2:
    Start your computer in safe mode and check the number.
    Refer to this article:
    Start settings for Windows (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows-8/Windows-startup-settings-including-safe-mode

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

Maybe you are looking for

  • Functioning of the reader of CD/DVD Equium A60

    I've had my laptop for over a year now and my DVD/CD drive has worked well but I went to play a CD yesterday and nothing happened. When I clicked on the icon in my computer it came with the following message: E: / is not accessible. The request could

  • Stops randomly on my satellite A210 - 17l

    Hello I got my A210-17I Vista race since the latter part of last year and last month, he has been randomly withdrawal while I worked on it.The CPU does not seem to be running too high, but the fan seems to work more often.I have not installed any new

  • WNR2000v4 continues to change the internal ip address

    Hello For some time, I have a strange problem with my WNR2000v4. time to time the Exchange Router ip address internal of himself. The standard/default ip address is 192.168.1.1, but for some reason any change the router to 10.0.0.1. According to the

  • XP SP3 - cannot install updates

    Dear members of the Forum, I'm running the following winver namely, "Xp Home Edition Version 5.1 (Build 2600.xpsp_sp3_gdr.100216 - 1514: Service Pack 3).» I failed to get the updates for the same thing on the site to update. It will and it works but

  • Unable to activate Windows Vista by phone

    I just installed my windows vista in my new laptop computer. I received the license key on a sticker on the back of my previous laptop. I've heard that I need to activate my windows by phone in my new laptop computer. But the telephone activation opt