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).

Tags: BlackBerry Developers

Similar Questions

  • 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/...

  • The task manager has started to appear without borders and will not go away, unless the computer is off.

    When using the Ctrl-alt-delete option and the Manager tasks appears it seems without borders.  The task manager remains after the programs are all closed and will not go away, unless the computer is off.

    It's called mode 'small footprint '.  Double-click anywhere on the border of the Task Manager window and you will get the Menu bar in the rear.

  • How to keep caps lock shift on screen without hitting the key? Thank you, Nick

    How to keep the caps lock indicator on screen without hitting the key each time to check its position? Thank you, Nick

    This indicator is provided by the keyboard device driver.  The driver included with the keyboards that Microsoft sells won't stay on the screen.  You can search your favorite search engine for "software keyboard indicator", there are some online that keeps the current keys shown in the taskbar near the clock.

  • Satellite U920T - 10G - touch screen without any function

    Hello together,

    I have been using the nice nice feature now for a few weeks and start to have trouble with him.

    I have the problem that randomly touch screen without any function, I can touch the screen
    but I want to, but without any reaction.

    It starts just besides the requests or anything before, I just browsing in the web site and a second to another.

    If I restart the PC, everything works normally again, I still using the drivers that have been pre-installed and have no changes for the drivers so far.

    Any suggestions, what could cause this problem?

    Kind regards

    Hello

    In my opinion, a process that controls the touch screen hangs or does not answer more and as a result, you can not touch works.

    Recommend reinstalling the driver of Toshiba + Toshiba UE driver page system.
    If this is not enough to try the system recovery and test the device with factory settings.

  • How to set LabelField at the bottom of the Manager

    How can I create a layout like these?

    Im trying to put the labelfield2 on the bottom of the Manager but sound always fail... its always stay below the TextField

    I create these layout using HorizontalManager as high parent and add verticalmanager and bitmap.

    on vertical Manager, I add the label 1 field, textfield and label of field 2.

    Thank you.

    This code that im using

    //called the constructor of HorizontalFieldManagersuper(USE_ALL_WIDTH);
    imageField = new BitmapField(image,FOCUSABLE);
    add(imageField);
    VerticalFieldManager dataContainer = new VerticalFieldManager(USE_ALL_WIDTH);
    add(dataContainer);
    title = new LabelField("title");
    time = new LabelField(timeValue,Field.NON_FOCUSABLE | Field.FIELD_BOTTOM);
    text = new EditField(data.data, EditField.READONLY);
    dataContainer.add(title);
    dataContainer.add(text);
    dataContainer.add(time);
    

    This should help you:

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

    for easier positioning you can also use methods setMargin/setPadding fields and managers, but crush sublayout is usually the cleanest method for complex page layouts.

  • My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    Right-click on the taskbar and make sure the taskbar are not locked. Then move it using the left mouse button. Microsoft® Security MVP, 2004-2009

  • How can I change my toolbar view of the bottom of my screen on the left side of my screen?

    My computer screen is destroyed. I don't see anything on the right side of my screen. I want to change the taskbar so that it shows on the left side instead of the bottom of my screen. I tried to do it myself for the last hour or two, but have not been able to meet

    Right-click on the taskbar and UNLOCK it.

    Now what you have to do is find a clear framework of taskbar, put the cursor of your mouse over it, press on and hold down the left mouse button and drag it to the left of your screen... You can now lock the taskbar... Mike Hall MVP - Windows Experience http://msmvps.com/blogs/mikehall/

  • 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

  • Add images to the Manager of the screens.

    Hello

    My screen is a screen, and I have a title and a status of the screen. I want to put the image to fit the middle section of the Manager. I don't need to know how to scale an image I know how to do this. All I need is how to central section width and height to resize the image to fit perfectly.

    Unfortunately you won't know that until the moment of the page layout.

    The way I think than anything approaching whether to put a scroll not use all height and width Manager in the 'middle' bit and paint the image sized as the background to that.  do the scaling in the context of the sublayout.  You will need to add all your fields to this optimization of resources, rather than just for display.

    In other words, the highlights, the best place to look for details and probably a better explanation is here:

    http://supportforums.BlackBerry.com/T5/Java-development/MainScreen-explained/Ta-p/606644

  • I was finishing process on my task manager and stop the bad thing, now my screen is empty.

    I was finishing process on my task manager and stop the bad thing, now my screen is empty. I can't understand how to get back my taskbar or shortcuts. Help, please

    Original title: Oops

    Hello

    And here is how to do a Safe Mode system restore.

    "In Windows 7 system restore:

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

    'Advanced options boot (including safe mode).

    http://Windows.Microsoft.com/en-us/Windows/Advanced-startup-options-including-safe-mode#1TC=Windows-7

    "The Advanced Boot Options screen lets you start Windows in advanced troubleshooting mode. You can access the menu by turning on your computer and pressing the F8 key before starting Windows (press F8 at the rate of about once per second)"

    See you soon.

  • What is the best way to manage fields on a screen to draw in paint () or manage through managers and their layout() method?

    Hi all,

    Sorry if this is a stupid question, but I'm kind of confused because of my friends on my code examination. I just thought that this forum is the right place have the answer

    I develop a very simple screen but I m using feeders to quidon all the placement of objects on the screen.

    I has a high HFM which has 2 tags that is exterme right and the other is on the far left of the hfm screen.this is added to the screen

    There is a value for money including two labels and two basicEditFields.

    There is an another HFM which has two button in what should be at the centre of the screen.

    This button HFM is add in the optimization of the resources that are directly added to the screen

    Now all the alignment of the manipulated by the sublayout methods of the manager.

    According to my friends, I should HAV done this VIA object not via too many Manager and their layouts...

    I want to know are right? or you can suggest a better way?

    Concerning

    In General, having too many managers slows down things. It is generally recommended to have as little as possible nesting Manager.

    That being said, your friend is too complicate things. Managers are there for a reason and you use them for good reasons (to quickly, glancing at your description, this can be done via a single Manager custom without using a lot of nesting of the optimization of the resources/HFM).

    Managers will take care of the tune-up, scrolling, etc.. Fact all through painting is stupid for this use case.

    With the help of de facto managers save time, makes it easily manageable code, reduced the number of errors and makes things simpler to support/extend in the future.

    There are cases where the surrogate object and made everything yourself is preferable, is not. For this particular case, your friend is wrong.

  • Type of transaction SOUL in the management of users (additional access authorization)

    We are looking for use the feature "Request additional access" self-service in the user management to allow existing users to request additional responsibilities (we're on EBS 12.1.3, all user access is entirely in EBS without integration of SSO).

    I was able to set up so that it works very well if no approval is required for the new responsibility, but we would also like some requiring approval of line manager/supervisor until responsibility is granted - documentation related to the management of users tells us that we can add a Type of Transaction SOUL in the field "Type of Transaction for approval" when creating a new registration process , but nothing more than that. I wonder if someone could point me to any more detailed documentation that would help us to work on the question of whether we can use an existing transaction of the SOUL - or how to create a new one for this particular task?

    Thank you.

    Andrew

    In case anyone else has this problem in the future, I connected an SR and support pointed me to a really useful note on My Oracle Support on how to do

    How to create the Type of Transaction for approval of the SOUL. B or higher? (Doc ID 420387.1)

  • Should we have the additional license for managing ESXi4 host?

    We have operated vSphere 4.0 hosts for a period of time.  We will implement ESX4i host in the near future.  We would like to confirm that we can use the existing vCenter Server for the management of the ESX4i host without additional costs.

    In addition, we currently Support Gold for ESX hosts, do we need to purchase additional ESXi support?  Is this host or CPU?

    Your opinion is requested.

    Thank you

    Post edited by: TonyJK

    you have 2 licenses. (you can find them when you connect with the customer for the vcenter tab in admin, licenses)

    1 for the vcenter itself

    1 for esx/esxi hosts.

    So yes, if your license allows 12 processors and you have already used 10 cpu, you can add 1 host more (esx or esxi) with 2 cpu.

    When you delete an esx server, you can of course add another esxi host.

  • my Start menu bar is on the right side of my screen and not to the bottom... How can I get that back down?

    I closed a program and my Start menu bar went on the right side of my screen. I need to know how to get it back down.

    Do you mean the Windows taskbar? Right-click on it and unlock it. Left click on an empty space and just drag it down. Re-lock. Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

Maybe you are looking for