Screen pop-up problem in scrolling Manager

Hello

This could be a simple, but one don't know'm stuck. I'm trying to implement a popup screen (mainly for the EULA screen) who has a Manager (Vertical), a RichTextField and a button. I want the EULA text to display in the Manager and only Manager should have not the popup screen scrolling and button to add after the Manager.

problem: If RichTextField text is small, I can see the text and a button. But if the text is very long time Manager scrolls to all little bit and not able to see the button.

This is wht m is:

class ApplicationEulaScreen extends PopupScreen implements FieldChangeListener{    private VerticalFieldManager mainContainer;    private RichTextField eulaText;    private ButtonField okButton;

    ApplicationEulaScreen()     {        super(new VerticalFieldManager(VerticalFieldManager.NO_VERTICAL_SCROLL)

        mainContainer = new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL | VERTICAL_SCROLLBAR | USE_ALL_HEIGHT);

        eulaText = new RichTextField("Indicates whether network connectivity is possible. "        +"A network is unavailable when a persistent or semi-persistent condition prevents the possibility of connecting to that network. Examples include "        +"* The device is out of the coverage area for any network of this type. "        +"* The device is on a network other than the home network (i.e., roaming), and data roaming has been disabled. "        +"* The device's radio is turned off, e.g., because airplane mode is enabled. ", RichTextField.READONLY | RichTextField.USE_TEXT_WIDTH);

        okButton = new ButtonField("Ok", ButtonField.FIELD_HCENTER | FOCUSABLE | ButtonField.CONSUME_CLICK);        okButton.setChangeListener(this);

        mainContainer.add(eulaText);        add(mainContainer);        add(okButton);

    }}

need help on this.

Hello

If the RichTextField text is available more space, the button and the text will be disturbed.

Instead, I suggest you add RichTextField another manager of Vertical and add vertical scrollbars. Add the setExtent in the sublayout of this Vertical Manager.  Add this vertical Manager newly created in your original handler.

With this, the busy surface wll be same, longer text will be easily visible using scrollbars and button will be also present in his place. Your components will remain in their respective places only.

Try if it works.

Tags: BlackBerry Developers

Similar Questions

  • verticalmanager down in the vertical scrolling Manager

    Hello

    I have created custom components that extend a class that implements verticalfieldmanager

    These classes contain a number of areas for example a label a textfield, another label and image

    I get a list of these objects (vertical field managers that contains several components) and add each of them to another manager of vertical in the main screen

    My problem is when the scrolls to screen through my list of vertical management focus is moved to the first active item in the Manager so when you exceed the first couple and the screen needs to access you will only see the first item in the component. I want to be able to scroll the main Manager until the end of the component, but still leave the focus in the first element. How can I do this?

    Looks like you want to have a field in short but be able to scroll through the other VerticalFieldManager.

    You can override navigationMovement to the screen and setVerticalScroll for certain VFM, but she will break habitual movement of development on the screen (the other side effects are possible). You want to do?

  • Problem of scrolling and visibility

    I have the following screen layout:

    The rectangle of trees, has a senior who displays the date and other things. The third rectangle box, has a manager that displays a menu. In the middle there is a manager that displays my application itself. I have a class that inherits from the screen that defines this provision.

    One of my screens is subclass of my main class and a list of fields 'tailor-made' appears in the middle Manager. The problem here is when I scroll down after the last field, it is not "fully". I think that at screen, was posted, but as a Manager in the last part I I can't. 3 managers have no scroll indicator. If I wan't scrollable content in the way Manager, I add a new vertical Manager with scrolling, and it works, except for the display of the full field.

    In the picture above, I hope to show what the problem is. For example, if my field has any matching text at the bottom of the field itself and I did scroll down, this text is hidden by the menu Manager. How can I force the field to show entirely?

    Try again with organizing your screen in the following format:

        public TestScreen()
        {
            super(NO_VERTICAL_SCROLL);        
    
            HorizontalFieldManager topManager = new HorizontalFieldManager();
            HorizontalFieldManager menuManager = new HorizontalFieldManager();
    
            int topManagerHeight = topManager.getPreferredHeight();
            int menuManagerHeight = topManager.getPreferredHeight();
    
            final int usedHeight = topManagerHeight + menuManagerHeight;
            VerticalFieldManager contentManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR)
            {
                protected void sublayout( int maxWidth, int maxHeight )
                {
                    int width = Display.getWidth();
                    int height = Display.getHeight() - usedHeight;
                    super.sublayout( width, height);
                    setExtent( width, height);
                }
            };
    }
    

    Concerning

    Bika

  • I have a problem with scrolling and typing on the computer.

    Original title: I have problems with scrolling and typinging after a minute or so without the computer trying to go in the background, any help would be great because I will to throw the mouse across the screen very soon

    as noted above, totally tired, I must right click of mouse to wake up on this page, I did it while typing grrrr big time. Help pleeeease

    Hello

    Thanks for posting your question in the Microsoft community.

    I see that you have a hard time to work with the mouse.

    1. What is the brand and model of the mouse?
    2. The problem occurs on any program or when you perform a task in a particular program?

    Try these steps and see if that solves the problem of performance of your mouse.

    Method 1:

    You can check that the mouse buttons are set correct.

    Refer to the section "Change how the mouse buttons works", from following link to learn more about the same:

    Change the settings of the mouse

    http://Windows.Microsoft.com/en-us/Windows7/change-mouse-settings

    Method 2:

    You can uninstall and reinstall the drivers for the mouse on your computer, to do so follow the steps mentioned below.

    a. click Start, click Control Panel , and then click Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    b. in the Device Manager, look for the device under the mouse and other pointing devicesand then double-click the device name.
    c. click on the Driver tab, and then click uninstall the driver.

    d. restart the computer and it will automatically re - install the drivers of.

    Note:

    You can also update mouse drivers by visiting the manufacturer's Web site.

    See this link for more information:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Let us know if you need help on this question or any question about Windows.

  • Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family

    Using an IP191 monitor, have random horizontal stripes on the screen - have no problems with other browsers. also no problem with FF on the other PCs on the family.

    These "streaks" seem to be the domain of the high frequency analysis; they can be eliminated by scrolling upwards or downwards.

    Hello, maybe it's a problem with hardware acceleration - try updating your graphic driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in the firefox menu

    > options > advanced > General.

  • M45 S351 problems with scrolling using the touchpad

    I have some problems with scrolling with the touchpad. In some applications, like Mozilla Thunderbird, the touchpad scrolling does not at all! If I contact the right side of the touchpad by finger in Thunderbird, I see the label of Scroll on the screen, but no scrolling occurs. What is the problem? In Opera, I need to click on the browser page to 'activate' the touchpad scrolling and it also irritates cause in IE I do not have such problems: I have lunch just Explorer and scrolling of the works from the beginning... How to solve this problem?

    [Edited by: admin on August 29, 2006 06:52]

    Fix for that is unknown to me, but it turns out that the unit has been tested only with Microsoft products (Designed for Microsoft WXP label applied on the device) and not with other third-party software of the part. This function is not only an example. There are many of them. Please don t see this as a problem.

    On this path, I will not say that you MUST use just preinstalled stuff but there are many things that you have to live with.

    Perhaps someone else knows more about it.

    Good bye

  • I get a blank white screen popping up, I do alt f4 but he returned

    I get a blank white screen popping up I do alt f4 but it comes back

    Hello

    1. Once you get this white screen?

    2. What is the operating system of your computer?

    Provide more information to solve the problems on this issue. Refer to article How to ask a question: http://support.microsoft.com/kb/555375

    Step 1:

    Try to start the computer in safe mode and check if it works fine. To start the computer in safe mode, follow these from the link: http://windows.microsoft.com/en-US/windows-vista/Start-your-computer-in-safe-mode (also valid for Windows7)

    Step 2:

    If it works well and then start the computer at startup clean and check: How to troubleshoot a problem by performing a clean Windows Vista or Windows 7 boot http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 to start the computer in normal startup.

  • Windows XP Home, black screen after loading screen (seemingly unique problem)

    Hi all

    I am trying to upgrade to service pack 3 Windows XP home on my old computer from eMachines T2838 and experiences a @# *! a time to do it. This is the third time in 2 days I had to wipe my HD and re - install XP, because of some problem installing updates which has damaged the operating system.

    Here's my current situation.

    Yesterday, after the failure of the HD for the second time (computer got stuck "performing cleanup" on SP2, forced a reboot, got a restart loop after, would not load Windows) I installed XP, update to SP2, then downloaded the service pack real itself. He has installed fine and asked me to restart.  I respected that, and the computer restarted. As soon as the "Loading" screen popped up, I knew that something had gone wrong.  When I started on the desk, I was stuck in 640 x 480 w / 4 - bit color graphics mode. Could not be set. So, I thought, okay, let me reboot Windows and see if he "rediscovered" the integrated video card. Well, I restarted, and the "loading screen jumped into the appropriate color mode / resolution, so I thought that I was in the green."  Well, after that, all I get is a black screen. No message 'No signal!' or anything like that.  Even tried a few instructors that I have. Looked around online, has seen the references to "Last known good Configuration" 'safe Mode' etc etc.

    I tried all the options on the list of F8. Either she freezes at Mup.sys xxxxxx or boots up to the loading screen and then goes black after. I can hear the HDD does it's thing for a bit, so I don't know it is loading this screen "check to activate the automatic updates" which appears after SP2 is installed, but I can't.

    Use the recovery console, (did the repair option the first time after it kept restarting, Windows took 5 minutes to start an IE6 get locked every opening, so had to wipe and re-install) typed "chkdsk/p/r" and he did his thing for about 30 minutes, rebooted and still have the same problem.

    I don't know what else to do. I REALLY want to redo everything this a fourth time, only to to have screw it up once again, and I don't know how many times I can use the key I have on the back of the computer.  (Using a retail disk and an OEM key, Finder product key changer.) -A Microsoft Support Officer showed me that one. Quite handy.

    People do you have any suggestions?  I would really appreciate it.

    Hello

    Try the steps listed in the link below and check if it will help: computer stops responding with a black screen when you start Windows XP: http://support.microsoft.com/kb/314503

  • Problems with scrolling after update

    IM currently using the BlueJ ide and after updating to the new system / update (macOS Sierra) there is significant lag / jitter when scrolling. This problem only occurs when you use the scrolling with two fingers with the touch pad. When I use a mouse / or click the scroll bar on the side, it seems to go well. Not sure if there is a problem with BlueJ or the new OS. Would be very interested for some suggestions on how to fix this very annoying problem. (Using a Macbook pro 13, 2015).

    Thanks a lot to all the answers

    The obvious question would be if you see the problem of scrolling in Mac OS standard applications such as Mail, Notes and Safari.

    If this isn't the case, it is likely BlueJ.

  • MacBook Pro screen re-recurring problem.

    In November 2015, I got a replacement of the screen as my Mac anti-glare treatment wears.

    Just one month later, replaced screen got weak horizontal gray bands that goes further, from right to left, I got a replacement of the screen before the end of 2015.

    Now, the March 2016, I had some stripes of vertical pixels affected when I apply pressure on the screen. How can I fix?

    Just in case you are wondering this odd task between the two, it is the slider. I want to show that the screen has some problems with it, so I place my cursor here to show that this isn't where the screen ends.

    It is a hardware problem with no software solution.  It will require a replacement.

    You have not identified the EXACT MBP model you have and perhaps with the display problem, it could come under this replacement program.  Read this link.

    https://www.Apple.com/support/MacBookPro-videoissues/

    Ciao.

  • My touch screen has a problem after downloading the IOS 9.0.2. Already try apple advises the steps. But the problem still occur. Already done restart of strength. Factory setting Reset also possible. But still the same problem. Can only be used at one min

    Hello!!!

    IM Apple Fan.

    Purchased IM Ipad2, Ipad4, Iphone6

    Last month I already buy s Iphone6 +.

    Today I feel unhappy

    MY IPHONE 6 'history '.

    My touch screen has a problem after downloading the IOS 9.0.2.

    Already called and try apple advises the steps. But the problem still occur.

    Already done restart of strength. Factory setting Reset also possible. But still the same problem.

    Only can be used for a minute. After that... The problem comes in again & again & again...

    APPLE.COM

    Can U help me

    Only products of Apple of love before updating the version 9.0.2

    iOS 9.0.2 happened some time. The last iOS is iOS 9.2. If you have not updated, updated. If you restored to the factory, it must have downloaded iOS 9.2. Also, if you restore to the factory and the problem is still there, then you must make an appointment at the Genius Bar to the nearest Apple store or Apple authorized service provider or call the Apple Support to have the device examined by Apple. There seems to be something wrong with the screen.

  • Satellite L500-1ZP - problems with scrolling

    My Satellite L500-1ZP has problems with scrolling via mouse, touchpad or up/down keys...; the window keep turning towards the start window and the content in the lower part can be kept still. The scroll in the pane bar right guard stutter and go back to the basic position.
    Very annoying.

    Does anyone have an idea for a viable solution?

    A little more info about your latest activities can be very useful.
    I can't imagine you have this problem all the time and I would like to know since when you have this strange problem.

    If you have installed something that can have a negative influence on the scrolling feature?
    Have you tried to roll back the BONES to the bygone era?
    Have you tried to do something to make it work again?

  • whenever I write the first letter of search in google the screen pops up

    whenever I write the first letter of search in google the screen pops up

    on the right side of your screen of google it is parameter option for google page click on it select search asking to go to the bottom of the page use (do not use Google Instant) and down click on save preferences now you are good to go...

    Good luck

    Firoz

  • I need help with a problem of scrolling on my laptop

    I have a toshiba laptop with windows vista. The problem is with scrolling and it started this morning after getting information from the Washington Post, where executives of information jump every 5 seconds. Before I entered the Post, my computer was scrolling smoothly and quickly. Now, he jumps at a slow pace, even after that I release the square keys.

    I tried to find something in the Control Panel, but there was nothing there for the problem. I then cut the modem, thinking that would help, but nothing.

    Soon I'll be 80 and not computer wise.

    I would give to apreciate any help!

    Happy new year

    John

    Hi again,

    I have a laptop Toshiba Satellite that gives me problems with scrolling since 12/31/11. Bikest T recommended something that fixed the problem for about 1 to 2 hours and he returned. I use a pad and the up/down keys. No mice. If I used either top or key frame/presentation will continue to jump, at a very slow pace for executives from 4 to 7 after the button is released and I can't stop fucking her.

    I tried the driver Dective who said I had an outdated driver. Being a novice in computer science, I tried, without success, to how this problem could be fixed.

    I had this same problem about a year ago and I don't remember how it was corrected.

    At the time, that this problem is back, I was on The Washington Post watch automatic 5 second frame advances and once they stopped, my smooth scrolling stopped and my scrolling problem started. Any help would be appreciated.

    Happy new year!

    John

    Hi sandanZY

    I merged your new thread on this subject in this thread. Please use the address on the bottom of the message in this thread rather than creating new threads on the same topic.

    Thank you.   :)

  • When I turn on the computer, the screen indicates "a problem has been detected and windows has shut down to prevent damage to your computer.

    Original title: when I turn on the computer.

    the screen shows "a problem has been detected and windows has shut down to avoid damaging your computor.

    Hi Cjdaniello,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Step 1: Start in safe mode and check if the problem persists.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Step 2: If the problem does not occur in safe mode, you can put your system to boot (in normal mode) to solve the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    I hope this helps.

Maybe you are looking for

  • Satellite L650 - 1 P 4 - power plug does not work

    I have a problem with my computer:When I plug the power adapter to the computer, the computer did not work and the battery is no longer supported but computer works with the battery and the charger works on another pc. + The message was edited: assig

  • Blank DVD is compatible with Satellite Pro L300D-224?

    I have a Satellite Pro L300D-224 and need to buy some blank DVDs to create the recovery disks. How can I find out who is compatible and how buy?

  • Envelope

    I use an all-in-one Officejet J6480 printer.  It was formerly used with a PC without any problems, but I recently bought an IMAC with Microsoft Word (Office for Mac 2011) installed.  I ran into a problem with printing to envelopes size 6 3/4.  I wond

  • How can I get around administrator password if Julian inconu he

    I forgot my admin password how iget in to solve the problem.

  • latest v7 vs v8 vs v9 firmware?

    Hello: I have 3 boxes of PS6110, all running V7.1.11.  I see that there are 3 available different updates: V7.1.14V8.1.6V9.0.3 How to choose which one I should go with?  Why go with V7 vs vs V8 V9? Eric Raskin (eraskin at sign paslists dot com)