The value of a field to the bottom of the screen without setStatus()

Hello

I want to set a field to always be at the bottom of the screen without using setStatus() as it is opaque. Most of the discussions I looked at have a complex layout on top to a field at the bottom. I have a very flexible presentation, now that I have just my fields added to the Senior Manager. Is there a good way to push a field to the bottom of the screen? Or is it only possible by substituting the functions of some manager?

Ben

It's not trivial.

You must create a Manager and tell it to use all the way up and not be vertically scrollable.  So the dimensions that are placed in its sublayout will give you the height available to you.

Now, you must add two managers to this Manager.  The first is that you'll add all you fields too - it will be a standard value, so that it scrolls.  The second will be the stuff you want at the bottom of the screen.

In sublayout you will be setting page, the second field first, get its height and then set its position is at the bottom.  This will also give you the area that is available for your manager to scroll.  You will be then layout manager to say the things that he is restrcted to the height that you left.  As he scrolls will not worry.

Finally, in sublayout, you will find setExtent making sure you use all the height that you were given.

For more information:

http://supportforums.BlackBerry.com/T5/Java-development/how-to-extend-Manager/Ta-p/446749

http://supportforums.BlackBerry.com/T5/Java-development/create-a-custom-layout-manager-for-a-screen/...

Tags: BlackBerry Developers

Similar Questions

  • Addition of the Manager at bottom of screen (without setStatus)

    Hi all

    I have a custom class that extends HorizontalFieldManager.  Basically, whenever this custom handler is added to the screen, I want to add at the bottom of the screen - without using setStatus() (as setStatus() has a white background, and I need to make it transparent).

    Can someone help me with what the custom HorizontalFieldManager sublayout method?  All my attempts have failed.  I made sure that the screen to which the handler is added to a defined on NO_VERTICAL_SCROLL.

    Thank you.

    How do you handle the main area of the screen scrolling? You add the majority of your fields directly to the screen? Or maybe you have a separate VFM doing the work?

    In the case of an optimization of separate resources, you can make this slightly customized one - calculate how much height will occupy your 'status' Manager (getPreferredHeight() can sometimes work), subtract from what you have overall (Display.height () - your title/banner in height), to calculate how much you can give to this environment VFM (principal), and have your main like this VFM sublayout :

    protected void sublayout(int maxWidth, int maxHeight) {
      super.sublayout(maxWidth, Math.min(maxHeight, allowedHeight));
    }
    

    You can then add your manager 'status' on the screen after this 'main' value for money - and have it stay there.

    Another approach: use setStatus on your Fund Manager, then find his manager (getManager) and setBackground on that one. I have not tried, but it could work (though I doubt it).

  • How to set a component at the bottom of the screen without using setStatus()

    I created a custom horizontalFieldmanager and want to put it at the bottom of the main screen in my application. My custom horizontalFieldManager contains three fields of bitmap... help me please put it at the bottom of the screen without using the setstatus method.

    OKS... If it is finally... Thanks for the help

  • I tried the clean boot and now the hard drive works simply and screen went black. The mouse still moves around the screen without any outher work keys? That is what it is?

    I tried the clean boot and now the hard drive works simply and screen went black. The mouse still moves around the screen without any outher work keys? That is what it is?

    Hello

    You will need to reverse the clean boot, as it is either incidental compared to
    the real cause of the problem. What, where you try to fix initially using the cleanboot?

    You can access Mode safe? Repeatedly press F8 as you start? If so you can try the configuration - control panel
    The Device Manager - graphics card - Double click on - driver tab - click the driver UPDATE - then
    Right click on the device and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure) is
    CTRL + ALT + DEL and the processes tab find EXPLORER.exe and COMPLETE the PROCESS on this subject - and then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you don't have the disks your
    system manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (making the system restore it)
    must be bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation
    (if all goes well, the data records and need to reinstall programs). Don't forget to make a good backup or
    3.

    You can use another DVD that aren't copy protected but you you need to own
    Product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can do a repair installation that needs to save the data, but you will
    to reinstall the programs. This also requires correct Vista disks especially for OEM versions. You
    will need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - enter a bracket )
    or "BOLD")

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • I have used IE first time in 3 years. I have READ the screen without my glasses. I didn't know that Firefox FONTS were 'low' tried almost everything to get Firefox fonts look as "BOLD" and clean. Failed. Ideas please.

    I have used IE first time in 3 years. When I did, I could READ the screen without my glasses. I didn't know that Firefox FONTS were 'low' tried almost everything to get Firefox fonts look as "BOLD" and clean. No luck.

    How can I get Firefox to DISPLAY a more clear and clean police as Word? I choose different fonts in Firefox and sizes and nothing is really happening.

    You have clearly Type is defined on your system?

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Vista, why my cursor jumps around on the screen without reason?

    Vista, why my cursor jumps around on the screen without reason?

    You are using a laptop with a touchscreen?  Chances are good that you accidentally touch the touchpad while typing, and that moves the cursor.  Go to start / Control Panel / mouse and see if there are controls for adjusting the sensitivity of the touchpad or to disable the touchpad while typing.  Go to the web site of the manufacturer of your and download the latest device drivers, firmware, and software for touchpad you and your mouse (if you also have a mouse - you may have to go the manufacturer of the mouse for these drivers, if she did not come with the system).  New updates can offer options that did not exist before like the ones I mentioned.

    This happened to me also and I bought a separate mouse and disabled the touchpad and the problem disappeared - but he had me past for awhile until I finally figured it out by typing differently (with my hands up higher so the Palms do not touch and had no problem).  Even if this isn't the problem, update the drivers, firmware or software can solve the problem on its own.

    If none of the works above, we will need either to run a complete troubleshooting procedures (post back and I'll meet with them) or the touchpad or mouse is defective and must be replaced.  You can discuss these last with the computer manufacturer when you talk to them (if you talk to them).

    I hope this helps.  If you have any questions along the way, come back and I'll do my best to answer.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to animate elements on the screen in the center of the screen without percentage

    Hi, I am very new to Adobe Edge. I take a class for itself at the College so I know the basics, but still to learn. I am trying to create a very basic animation where I have 2 active who are beginning to leave the stage on each side. I wish that the elements to be introduced on the sides and meet in the middle with a duplication of 20px. I tried to set a keyframe for both items at 0 seconds and affecting the translations of X - 2000px and 2000px and then by defining another keyframe to 5 seconds and change translations of X to 48% and 52% respectively. It made me the desired effect, but only because I have such a big screen. If the browser window is resized or the screen is smaller, the effect of not not remains the same due to the use of percentages to Center elements.

    In fact, my question is: is there a way to animate elements until the middle of the screen without percentages (perhaps using margin: 0 auto or something)? Or is there a way to accomplish what I'm looking for so that the positioning of elements is the same regardless of the size of browser window?

    Thanks in advance!

    Nevermind, just ended up using jQuery right and got the effect desired in a few minutes.

  • How can I change the brightness of the screen without using the fn key?

    I want to know how to increase the brightness of the screen using the parameters of the computer, not a keyboard.

    Thank you

    Hello

    1. What is the brand and model of your computer?

    2. is it a laptop or desktop?

    I suggest to read the following steps and check if it helps.

    a. Click Start, click Control Panel.

    b. Select "Appearance and themes" when prompted in the Panel 'category view. " If you are in "Classic Mode", choose the "View" icon

    c. Select the 'Settings' tab in the display properties window.

    d. Select the button "Advanced" at the bottom of the window. This will take you to the properties of your screen.

    e. click on the tab "colors".

    f. Select the brightness scale and push or pull until you are satisfied with the brightness of your screen.

    g. Press 'OK' to adjust the brightness of your.

    More information consult:

    Adjust the brightness and contrast of your monitor: http://windows.microsoft.com/en-US/windows-vista/Adjust-your-monitors-brightness-and-contrast
    Note: There is for Windows XP as well.

  • How to resize pictures to fit the screen without losing the proportions?

    I am trying to create a PowerPoint presentation and it will essentially consist of pictures, text and background music.  I want pictures to fill the screen of my computer, so when I'm in 5 items, I go to the Image menu and then Image resize - size and changing the pixel dimensions here.  My monitor is set to 1280 x 1024 pixels and I'm trying to resize my photos at 1280 x 1024, so that they will fill all the screen when you view the PowerPoint presentation.  The problem is that when I go to resize photos, I must leave options maintain Proportions unchecked so that I can freely and manually enter the values I want for both the width and height according to my monitor dimensions.  When my photo is resized by using this method, the proportions will throw off and the picture looks a little funny.  But if I check, select the maintain Proportions, then I won't be able to enter a value for one of the dimensions given that items will automatically appear the other dimension for me.  In this way the proportions look good, but the photo does not completely fill the screen in the way that I want.

    Is there some kind of workaround for this kind of catch-22 type of problem?

    Thank you

    Lee

    Lee,

    DSLR camera digital SLR particular means: http://en.wikipedia.org/wiki/DSLR.

    Jürgen

  • Print a string to the screen without using textfield

    Hello

    I want to print 100 channels on the screen, each chain contains one or two characters.

    There is no equivalent drawText. Is to create 100 textfield intensive resouce.

    Is there a solution?

    Perhaps this message on the conversion of bitmap of the text images will help you.

  • X61T edge of calibration of the screen without response

    I tried to download the latest Wacom drivers, but I'm still not able to get the calibration work.

    I tried XP 32-bit and 64-bit Windows 7, but the problem is not related to the operating system.

    The upper part of the screen is unresponsive to the pen. That you suspect makes most of the software unusable with the pen tablet mode if you cannot access the menu bar!

    Has anyone met and found a solution to this problem?

    Thank you

    I found a solution. I have a hard time to make sense out of it, but all I had to do was flip the machine in tablet mode. When the screen blinked black and then in the right direction, at the edge of the screen took over recognizing the digitizer.

    When the screen is not recognizing the digitizer once again, I did the same flip and the feature has been restored.

  • Turn off the screen without home (800w)?

    I miss my 650 feature when I'm in an application and press the power button, the screen would just turn off. With the 800w, the unit displays first screen today, and a second pressure is necessary to turn off the screen. It's two presses it and sometimes extra work to get back to running my application. Solutions or workarounds for this?

    That should do it.  Scroll to view #33.

    Message is about: Treo 800w (Sprint)

  • MBP stops at the screen without the possibility to insert the connection password

    Mid 2012 rMBP, following key power the log on screen is displayed, but even if the mouse/trackpad is active there is no active option to insert my password to continue the boot process, a reboot of the PRAM sometimes cure the issue, but on the next startup the problem remains. Is it a warning of a more serious problem or is there another process, I can do to cure the issue?

    It may be just a corrupted preference or a cache file. I would first do a Safe Mode boot and then restart your computer normally. This is going to take longer than a usual start just so be patient. This clears and regenerates a few system caches. If that is not enough then I suggest that you try to reinstall OS X. If you no longer have your Installer to Yosemite, then see this: How to reinstall OS X on your Mac - Apple Support.

  • I use firefox on Win7 with BlackfoxV2 but the pages are too important to the screen without zooming 2 then stops, how do I set it is permanent?

    I used FF for awhile and earlier versions have been very well. Since the update, the pages are too big, I need to zoom out at least two stops to reach the previous size, onscreen, and it's a nuisance to do this for each page. How can I put it the previous size?

    Please make sure that you have configured windows to display 100% in Control Panel > appearance > display. more information about this is available at http://windows.microsoft.com/en-us/windows7/make-the-text-on-your-screen-larger-or-smaller

    or use the nosquint addon to set a default zoom level that fits your needs: https://addons.mozilla.org/firefox/addon/nosquint/

  • Get the size of the screen without the use of DIsplay()

    Hello

    Is it possible to get screen width (or indeed any dimesion) without the use of Display.getWidth ()?

    I am trying to create a demo application that doesn't require code signing.

    I know that the code is now free to sign, but this is not the point in this case...

    Thank you!

    I managed to solve my problem by using:

    Graphics.getScreenWidth)

    and ignoring the notification "deprecated code" in Eclipse.

    Your link in combination with this post helped me to find a solution.

    Thanks for your help Simon!

Maybe you are looking for

  • can I play the guitar and midi keyboards at the same time?

    IM using the 3 main stage, I would like to play guitar and midi keyboards at the same time. I know that I can have more than one keyboard will at the same time, but I can't understand how to play the guitar too. I use a core Alesis 1 plug the guitar

  • Satellite M110 - how to replace the HARD drive?

    Need to replace my hard drive because the original is f & % $ ed. I tried to connect the original hard drive from my other laptop via a USB cable to Sata, but it does not appear. You can feel it spinning. I was able to do a test of HARD drive on it a

  • Fuzzy camera image-update?

    I can't get the camera to focus well any resolution or "scene" I select. I cleaned the lens of the camera with a spray of cleaning for glasses and still no joy. That is what I'm missing that will get back my phone camera, focusing properly and Get sh

  • The upgrade of the GTX 260 on my pc a6455d

    Hi all, I want to ask if my PC can receive the size of the GTX 260 video card. I have it will modernize as a replacement for my old GF 8400 128 MB I asked BFGTech along its length, but I don't yet have an answer. Thank you The world is just AMAZING!

  • Pre battery purchase

    I live in Norway, which is where I bought my pre. Nobody here sells batteries OEM for the Pre. Amazon UK will not provide the Norway. I found a supplier in the United States, but they want $ 60 for shipping only. With the cost of the battery and the