Cannot scroll down after the substitution object based on the LabelField?

As the title says, I have replace the LabelField paint function to set the color of the text in red, but when I add it to the screen, so that it can not scroll down see other content below that doesn't have space to display.

My program is like this:

final String labelText = «...» » ;

LabelField overageField = new LabelField (labelText) {}
protected void paint (Graphics g) {}
g.setColor (Color.RED);
g.drawText (labelText, 0, 0);
Super.Paint (g);
}
};

Add (overageField);

In addition, I have to add to my code? Any suggestion will be appreciated. Thanks in advance.

I tried something like that in my screen, no problem to scroll down.

 LabelField lf = new LabelField("BBDeveloper")
        {
            public void paint(Graphics g)
            {
                g.setColor(0xFF0000);
                g.drawText("BBDev",200,0);
                super.paint(g);
            }
        };
        add(lf);
        BasicEditField bef = new BasicEditField("Test1: ","Test2");
        add(bef);
        RichTextField rtf = new RichTextField("Test3");
        add(rtf);

Tags: BlackBerry Developers

Similar Questions

  • multicolumn ListBox scroll down to the last line - with AutoSize on

    Hello world:

    I have a question about scroll to the last row of a listbox multicolumn with a small twist: automatic resizing line Heght is on.

    I checked this point - listbox multicolumn - scroll down to the last element - but if one or several lines are automatically resized to have more than one line, then the actual number of visible lines differs from the numrows and the calculation ends up incorrect.

    Has anyone found how to do this?  If there is a property only to find the heght of a line in lines...

    Thank you!

    I developed what I think it's a solution to the test.  It is based on adding the line heights, in pixels, of the last row back, until it is greater or equal at the height of the content area of Listbox MC, also in pixels.  Add-on for the upper left row to display because the last line displayed can be split.  Thus, there is always an empty line at the bottom (which is the only way to ensure that the last message is completely visible).  Because of the way that LabVIEW scrolls lined with several lines, there may be several blank lines on the bottom.

  • Prevent a Dialog.ask beeing scrolled down on the launch

    Hello!

    I want to show a EULA (very long chain) in a Dialog.ask, but it scrolls down to the buttons when it is released. Is there a simple way to avoid that I can't find?

    Thank you!

    only focusable components allow to scroll.

    I had a similar problem while displaying a EULA. on top, it was very long, and the formatting is complex.

    I opted for the EULA, including in html format.

    in my UI I show accept, refuse, and display buttons.

    show the button opens the html code in the browser - with all the formatting done automatically.

    nobody reads the EULA anyway, and let the user scroll through miles of text if it does not intend to read is bad design.

  • I wan't to create a site that scrolls down, but the navigation widget allow me to add additional categories

    I want to create a unique page layout that scrolls down, but the questions that I have are these:

    (1) navigation widget don't allow me to add sections extra such as about me, contact me, etc. unless I have create or add additional pages, but I don't want to only a single page several pages. How can I get around this?

    (2) when I create anchor points, it allows me to add a hyperlink to a reason any? If I want the site to do scroll down to contact me, I create the anchor point, and then I click the tag navigation, about me and tie under the section of the hyper link, but it does not appear or is grayed out.

    Any help on this would be helpful.

    Thank you

    Adolfo

    Using the method of anchorage is correct. Just make sure that your Type of Menu is set to "manual".

  • PDF document with the text field does not have to scroll down after being placed in InDesign

    Hello. I have a PDF form that has a text box. If people type a lot of text in there, a scroll bar appears so that someone who reads the form allows to scroll up/down in this text box to read all the data.

    I placed this PDF file in a new InDesign file. When I export a new PDF file, the text is still there, though, he is no longer scrollable. If I highlight the text in the box and drag my slider lower, I can highlight "invisible" text that matches the text that someone would normally scroll down to see.

    Is there anyway I can 'keep' scrolling form PDF > Indesign > new PDF?

    Original PDF form was made in InDesign. Thank you!

    The PDF file that has been placed in ID loses all interactivity and form fields. There is no way to do what you want.

    Bob

  • How to stop the Notes app, scroll down to the opening

    I have an iPhone 6 s, IOS 9.3.2.

    The Notes application scrolls down when opening a Note.

    It was not used to do.  I don't like it!  Most of the time, I add a text near the top of the file.

    How can I stop scrolling down when I opened an existing note?

    I looked for a setting, but found nothing.

    just checked on the iPhone 6 + - it does not scroll down

    Do a forced reboot - after all open applications using the app Chooser - invoked by fast double pressing the home button and drag upwards on each app until it disappears from the screen.

    Meet the sleep/wake and home buttons down until you see the logo  - then release and allow normal start upward

  • 850 - 009na M1Z34EA #ABU: CPU fan for the 850-009na feel like Phoenix does not turn down after the power - on self test unless the BIOS is entered

    Hello

    I have posted responses to other posts on this topic, but thought I'd start a new thread to gather my conclusions. I'm sorry for a trial

    This PC is virtually brand new (only a few weeks now) and otherwise perform exceptionally.

    Basically, if the machine is disconnected from the power grid (i.e. the power is off at the plug or the power cord removed), when the machine is supplied then the CPU fan turns over 2000 rpm and stays there. All the other PC that I do this too, but the fan will slow down after turning upward. I know that this is done as part of the POST to check that the fan is running.

    If I go into any installation of seed, start-up or BIOS for example (i.e. by pressing ESC or F10 etc.), the fan will slow down immediately up to 700 rpm. It will stay like that until the next time the machine is started against the cold. If I shut down the PC - watch or stop - but do not cut the power supply, then the next time the machine is started, the fan is still about 700 rpm. It is not to turn up to 2 k + RPM when lit.

    As soon as I unplug, then the next time the PC boots, it will turn to the top and I have to repeat steps - off, boot, enter the BIOS, exit and continue. It is something to do with the cold start.

    Note that I don't have to do anything in the start menu - I for example go to the BIOS settings, exit without saving the changes, and the fan will still slow. It's going in the boot sector that slows down the fan.

    When the PC started out-of-the-box, I opted for the upgrade to Windows 10 during installation. I have read in various places that people had experienced after the upgrade, so I reset the machine to factory settings (Win 8.1) and have not upgraded, but the problem persisted. However convinces me that Windows 10 has been removed completely, as when I went to restore the backup image (i.e. dating back to what I had before the factory reset) there are references to 10 Windows (for example, it says 'Continue to Windows 10' as well as various food options). I do not understand UEFI so I don't know if that was involved.

    I tried to change the power plan options "Processor power management-> cooling system strategy" on the liabilities side, but no joy there.

    I think that the fan and sensors work, based on the findings below. These readings of temp and fan are taken from AIDA64

    After starting cold (current was cut, without entering the BIOS), machine runs dry without load

    Exactly the same thing--starting in cold, but go in the BIOS, do nothing and continue. Once again, no load

    This is after power off and resarting, but to let the PC network

    After the above, I used Prime95 to put the CPU support (use of 95-100%), and after an hour, the readings are:

    Note that even so, the fan was not particularly strong, but it's at 2222 rpm as in the first reading.

    If I play at 4K (the whole point of the PC ) the CPU so far got very warm, the GPU is but his fan turns up as planned.

    In conclusion, it seems that the POST has a problem because it does not slow down the fan after the test.

    I can live with let the machine always plugged into the sector (for example, most of the time) and I guess that's what most people do, but I would like to know what the problem is (for example if it's really something 10 Windows, or a bug in the BIOS/UEFI)

    Thank you very much!

    John

    Explain you a lot of people who maybe have returned their system immediately because of this? Others might judge normal sound. Not irritable average is not coming here to complain. Others might judge her so little. They simply don't like. You will never convince me that is not a BIOS problem. As the problem resolves itself when you enter manually each time. It can be reproduced every time.

  • How can I stop: 1) scrolling ads/info that remains on the page, even while I scroll down to the bottom. (2) new side tabs that appear at the end of the articles to tease the next articles?

    I have two questions. In the past months, some sites there are ads or facebook/twitter links that scroll and remain on the same page that I scroll down. I find distracting moving images and want to stop them. How? I saw another development that I get close to the end of an article, two tabs appear on the left and right of the screen who tease article previous and next. These tabs appear often on the top of the text of the article I'm currently reading, making it difficult to finish the current article. How to stop these tabs?

    for 1)
    Try using an extension "ad block", as a first step.
    Click on > > AMO search for "ad block"

    I use this one - https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/

    for 2)
    You can try to use this extension - https://addons.mozilla.org/en-US/firefox/addon/umatrix/ - too complicated for me, I rarely see these stupid teases 'previous' and 'next' and my screen is wide enough so that they do not cover any text I read.

  • Cannot turn off after the upgrade to 10.11.4

    I have a late 2012 3.4 ghz i7 iMac / 32 RAM 10.11.4 running (and other iMacs around the office): I can't stop. When I try a stop down (after removal of servers/TimeMachine, close all applications - even unplugging the ethernet cable) - it goes to a black screen with the "circle of rotation of lines." They will be 'spin' this weekend if I let him. Instead, I'll put the machine to sleep during the week and make a hard cock down via the power button Friday night.

    I think it has something to do with the upgrade to 10.11.4. I have reset the PRAM and tried also to start up in the 'hidden' startup disk and first aid running without result. Tried to find preferences for throw - unsuccessfully - Finder found "com.apple.finder.sfl" I should throw?

    Another change is that now I'm using a new Pegasus2 18 to RAID hooked up via "2016" MacMini and Apple server software (replaced my Apple XServe)

    Someone at - there a method I can use to stop? Thanks for your help!

    Please read this message before doing anything.

    This procedure is a diagnostic test. It is unlikely to solve your problem. Don't be disappointed when you find that nothing has changed after you complete it.

    The test is intended to determine if the problem is caused by a third-party software that loads automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you usually connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of the test.

  • Get horizontal wrinkles when scrolling down in the active window in firefox.

    Using the latest version of Firefox on a Dell XPS 630i, Win 7 Pro. Use of a HP w2338h monitor set in 1620 x 1050 at 60 Hz. Graphics card is NVIDIA GeForce GTS 240. Logitech Anywhere Mouse MX.

    When scrolling down I get lines on the screen when I type text. When I keep scrolling, it goes but lower reappears on the screen. It; s quick and barely noticeable, but just enough to be a pain.

    Any help would be appreciated.

    Thanks cor - el. That seems to have done the trick!

  • Tecra A11 - 1EG - cannot be accessed after the supervisor setting BIOS password

    Hello, I would like to know if anyone can help?

    We have started to put a supervisor on our laptop Tecra A11 password so that our students can not set passwords on the hard drive, etc.

    To enter the BIOS and set a BIOS password, press us F2 that the machine starts.
    Then we go to the security option, then supervisor password.
    After entering the password we use twice, press us F10 to save etc.

    The machine starts ok and will windows smoothly.

    The problem we have now, is that we cannot go back into the bios at all.
    As machine starts support us on the "F2" key as before, but unlike previously the screen remains white and the "Toshiba leading Innovation > ' screen no longer appears."

    If we keep our finger on the F' key or continue pressing the laptop restarts just without ever get to the BIOS screen where I guess that get us ask the supervisor password that we set earlier?

    Is there another key, that we should be pressing that start the laptop?

    I would add that we have added a password of supervisor for the screen of security BIOS on three of our laptops and all three have the same problem.

    Thank you

    Steve

    I think this should be useful for you:
    http://APS2.toshiba-tro.de/KB0/TSB0B032D0000R01.htm

    In some cases, you need to press the "INS" in Toshiba logo appears.

    Then appears a prompt for the password for the supervisor and if the password is certified then the BIOS could be entered by pressing the "F2" key

  • When scrolling down using the touchpad, the cursor jumps to the back arrow

    Hi, could someone tell me why when I use my touchpad, I move the cursor over the arrow down to scroll down and sometimes the cursor jumps on the back button on the screen and goes back one screen and I lose what I'm getting?

    Thank you.  I understand.  I went to the mouse and then to the touchpad device settings and I was able to change.  They were called corner buttons.  They function as shortcuts to different things on each corner of the touchpad.  I disabled it.

  • Try to scroll to see the folder of photos. I scroll down and the scroll bar jump upward.

    I want to display an image file.  When I scroll down and drop the scroll bar of the jumps back to the top.  I can't access all files below a few albums.  Until I have a chance to click on the folder to open it, the bar rises to the top.

    Hello CathiVanderhave,

    Please provide the make and model of your PC. In addition, please relay if the problem occurs when you try to view other files. You also try to perform a clean boot to verify if a background program may interfere. To do this, please see the link below:

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

    Thank you

  • D600 lag when I scroll down on the web

    I don't know that really where I class, I think it's a software problem. But my D600 accuse by I scroll to the bottom of any web page, no matter what browser I use. I use firefox as a lot of people, but he did it with IE too. I'll give a few examples of it.

    When I press the arrow down on my screen what it comes down to the usual amount, it is supposed to, but it goes like 2 pixels at a time. So instead of being instantly down to the next spot, it'll take a few seconds.

    If I click in the box below the scroll bar, it will do the same thing but at like 10 pixels, maybe that's just purely heinous.

    I don't know what kind of question is this.


  • iPhone 6 touch id cannot be added after the upgrade ios 9.3.5

    My iPhone6 more ' Touch ID ceased to operate after the sound ' iOS to 9.3.5. This never happened with the previous iOS updates. Soft reboot (button home + power until the display of the apple logo) didn't work. Turn off the two "use Touch ID" for Unlock iPhone & iTunes App Store, then reboot and or soft reboot didn't work. Tried to 'Add a fingerprint', but as soon as it has been exploited, it goes directly to the page saying: 'FAIL' unable to complete installation of contact ID. Back... I even deleted all to restore my backup who had an operation 9.3.4 iOS, but then, I realized that after the restoration, put also got iOS updated! (I'm back to 0). Please help if you have any other fix for this? Thank you.

    Restoring as a NEW phone using iTunes (do not use backup at all).  Adding 3rd party applications, try the contact ID.  If it still does not work, then you have a hardware problem and will need to bring the phone to Apple for the assessment.

    Best,

    GDG

Maybe you are looking for

  • Time Machine Error - backup failed

    Hello I get "could not complete back, an error occurred when creating the backup folder"-I have an iMac with an Iomega eGo external hard drive. I checked the previous discussions about this and can not solve. What should I do?

  • SyncManager Enqueue in Labview

    Not sure if this should go in the jury TestStand and Labview, so I'll try TestStand first... I'll build a TestStand testbed that uses the model of parallel processes. I want to replace the standard dialog use with a custom dialog generated using Labv

  • How do I close the web page

    I change my version of windows 8 Explorerto... my problem is when I open the site its ok, but I can't close the web page.

  • HP officejet 5740: what is different between the office jet 5740 and the 5742

    My HP 4632 just died 1 month warranty.   Looking for a new printer.  This model still sells... but Amend for the price was a great ptinter.  Looking to buy another printer... What is different between the office jet 5740 and the 5742

  • bad customer service (redirect) to the Mexico

    I've been ordering Dell computers and Dell made for many years. In fact my first home computer was ordered online from Dell.  My office refurbished after 4 years just died and so I ordered a refurbished xps 8700 and monitor the 2240.  After a few hou