Extends the screen, or custom

Hello

I know how to extend the hand and the Popup screen, but I want to thank the entire screen in order to make a custom field.

I want my screen to the bottom of the screen. But I don't know how. I created my screen but I get an illegal state error on the Simulator. Can someone help me by making a screen that covers the half of the screen, while extending the SCREEN.

Thank you

Fail the fields in your form, because it is not their parent. layoutDelegate is the main thing that a screen can do about his 'children' (see also setPositionDelegate). The rest should be done by the delegate itself.

setPosition and setExtent, on the other hand, belong here at the level of the screen, of course.

So, if you need some custom layout, create a custom layout manager and then use it as a delegate. It seems that you already have an idea on how to do it, but it may be more difficult than you think. If you get stuck, ask here again.

Tags: BlackBerry Developers

Similar Questions

  • How to fill the screen with custom display fields

    I need to instantiate a class of custom field and add it to a number fixed times who knows @ length of the screen.

    I created a table to create objects of a custom field, and then I add elements to the screen one by one.

    I use this code where the entries knows @ runtime.

    There is error but the fields are not added to the screen and the screen and the screen is blank.

    CustomField item[]=new CustomField[entries];
    int entries;
    for(int i=0;i			 

    Some stupid problem just to retrieve the integer. Now, copy the following code works correctly.

  • extend the screen from left to right ro

    How can I extend my monitor screen left (main monitor) to monitor right - the opposite of the default value in Windows 8 "Devices"?

    If I understand your question:

    1. Access
      Control Panel\All Control Panel Items\Display\Screen resolution
    2. To the top of the windows, you will see change the appearance of your displays. Inside that will be a box containing a diagram of your displays.
      Using the mouse or the touch, the representations of the monitors can be moved. Mice: Place the cursor on the screen to be moved.
      Press and hold the left button. Move the monitor to the desired functional place. Release the button.
    3. OK and leave.

    Tom Ferguson

  • extend the screen option: change of camp

    Hello

    I use the option extend to screen for windows 8. Depending on how my point of view is configured, my external monitor is located on the left and my microsoft surface is sitting to the right. the screen extend option, looks like it's default that the surface sits on the left side of the screen. is there a way to change the "camp." its weird for me to move my mouse on my left screen left to screen right. Thanks for the help on my first world problem. Laughing out loud

    Hi Will,

    I suggest you open the screen resolution and to detect or determine the way you need.

    You can also check the items below.

    Connect multiple monitors to your PC

    http://Windows.Microsoft.com/en-us/Windows-8/how-connect-multiple-monitors

    Do more with multiple monitors

    http://Windows.Microsoft.com/en-us/Windows-8/multiple-monitors#1TC=T1

    If you have additional questions, feel free to post. We will be happy to help you.

  • The screen with the custom title?

    Hello

    I need to create a custom so that I can put an icon and 2 lines of text on the title screen or full screen.

    I need the title to stick at the top of the screen while scrolling.

    Extend the screen or full screen?

    Should what methods I replace?

    Thank you

    For this you need

    (1) extend from MaianScreen

    (2) create a handler and add it

    (3) SetTitle (MyManager);

    VerticalfieldManager vfm;
    vfm = new VerticalfieldManager(Manager.USE_ALL_WIDTH |  Manager.USE_ALL_HEIGHT);
    vfm.add(Bitmapfield);
    vfm.add(label1);
    vfm.add(label2);
    SetTitle(vfm);
    

    may be it helps!

  • ScrollBar not appearing in the screen that extends from screen

    I'm trying to find a way to put a section not scrolling at the top of a screen that extends from my screen applications.

    final ListScreen class extends ListFieldCallback implements screen
    {

    private ListField _itemListField;
    private LabelField listHeader.

    public ListScreen()
    {

    newScreen = new MainScreen(MainScreen.NO_VERTICAL_SCROLL |) Manager.HORIZONTAL_SCROLL);

    in the example

    HorizontalFieldManager columnHeadingHolder = new HorizontalFieldManager (HorizontalFieldManager.NO_HORIZONTAL_SCROLL
    | HorizontalFieldManager.NO_VERTICAL_SCROLL | HorizontalFieldManager.USE_ALL_WIDTH);

    columnHeadingHolder.add (listHeader);

    DataScroller VerticalFieldManager = new VerticalFieldManager (VerticalFieldManager.VERTICAL_SCROLL
    | VerticalFieldManager.VERTICAL_SCROLLBAR);

    dataScroller.add (_itemListField);
    }

    }

    The problem I have is the screen is white but if I click on the wheel the menu and when I close the screen menu appears finally.

    Tried several methods to extend the screen but can't get right.

    You can still use setTitle.  Instead of adding a field, add a handler with your inside headers.

    This works very well for me, but there is a "border" between the title area and the portion of scroll, which varies according to the level of the BONE, and you might not like the look of it.

    If this does not work, then one way I know is to add a fixed height of VerticalFieldManager to the main part of the screen - with the height set so that it fills the part of the screen that you left your title and headers.  But when I played round with it, I can't scroll bars to appear.  Probably something Style that I've not set correctly.  The following are examples which limits the height to a maximum of 3 lines.  This code only works for a line of fields as I'm sure that you number from the code.

    VerticalFieldManager vfm = new VerticalFieldManager(Manager.VERTICAL_SCROLLBAR | Manager.VERTICAL_SCROLL) {
        int maxHeight = this.getFont().getHeight() * 3;
        public int getPreferredHeight() {
            return this.getFont().getHeight() * this.getFieldCount();
        }
        protected void sublayout(int width, int height){
            super.sublayout(width, height);
            setExtent(width, Math.min(maxHeight, this.getPreferredHeight()));
        }
    };
    
  • 6 put new ones in place. Lower part of the screen is gray / no quick accesskeys?

    I've just set up my new s 6 and the bottom of the screen is gray with no access key. I cannt understand how to change that for the life of me! Update 9.2 and that nothing has changed. What's wrong? I can't extend the screen find the keys that are usually here!

    Thanks for all help on this!

    You can drag apps you want here. Press and hold an icon until it starts to squirm. Then, drag it to the bar.

  • The MenuItem to the screen

    Hi all, I have a problem of display of a menuitem when the Screen class is pushed. I want to show the menuitems can I display while the screen is pushed, but could not find a way to do it.

    I'm pretty sure it's something simple, but can anyone provide some assistance?

    I currently have the code to push the screen below:

    super(new VerticalFieldManager(Screen.DEFAULT_MENU));
    

    Help, please! Thank you very much!

    ankityadav4u wrote:

    protected void makeMenu (menu Menu, for example int) {}
    menu. Add (M1);
    super.makeMenu (menu, for example);
    }

    You really want to change the order of these two instructions - first super.makeMenu and menu.add.

    gyubok wrote:

    super(new VerticalFieldManager(Screen.DEFAULT_MENU));
    

    I guess that your screen extends the screen. If this is the case, the correct way of creation, it would be

    super(new VerticalFieldManager(), Screen.DEFAULT_MENU);
    
  • Highlight the screen half

    I have a chart on the half top of the screen, as well as a list on half lower. The graph changes as that scrolling of the list. I want to do is be able to scroll the lower part, while half superior is locked in place.

    I have currently extend screen and have disabled scroll to it. I have two VerticalFieldManagers and inside a parameter is created as well:

    low = new VerticalFieldManager(Field.FIELD_HCENTER |) VerticalFieldManager.HORIZONTAL_SCROLL);

    Unfortunately, the field extends beyond the bottom of the screen rather than facing the screen and scrolling. So, when I moved to the bottom of my list, the cursor goes off the bottom of the screen. If I disable the function stop scroll on screen, the screen scrolls.

    Is it possible to lock the half top in place, while to scroll through the items in the list? I'm looking by using a ListField instead of a VerticalFieldManager, but I'm running into the same question. Any suggestions?

    You can enble the upper part to be constant and lower part to scroll by extending the Screen class. and in constructor of ur class use super(new VerticalFieldManager(),NO_VERTICAL_SCROLL);........see the below code
    
    public class Example extends Screen
    {
    
          Example()
          {
            super(new VerticalFieldManager(),NO_VERTICAL_SCROLL);
           //create a HorizontalFieldManager as
           HorizontalFieldManager hfm = new HorizontalFieldManager();
           //to the hfm now add ur grapics picture.  like hfm.add(urpic);
    
           //Now create a VerticalFieldManager witjh Scroll as
    
          VerticalFieldManager vfm = new VerticalFieldManager(Field.USE_ALL_WIDTH | VerticalFieldManager.VERTICAL_SCROLL | VerticalFieldManager.VERTICAL_SCROLLBAR);
    
    //now if u want to put label field in the next region which is scroll u can do it by create a each HorizontalFieldManager for u r label and adding this HorizontalFieldManager to the VerticalFieldManager vfm
    
    hfm1.add(label1);
    vfm1.add(hfm1);
    
    hfm2.add(label2);
    vfm1.add(hfm2);
    
    hfm3.add(label3);
    vfm1.add(hfm3);
    
    //finaly adding a button 
    
    hfm4.add(button);
    vfm.add(hfm4);
    
    //lastly adding this vfm to screen by
    add(vfm);
    
    }
    
  • How to get the name or id of the screen currently displayed?

    I use UiApplication.getUiApplication () .getActiveScreen () to get the current active form. Is there a way to get the name of the current screen?

    You can extend the screen class and implement a getName() method. This will allow you to ask your screens for their name.

  • 'Extend the poster' does not not in Windows 7

    Hello

    I wasn't able to find 'Windows 7' forums, so I guess that's it.

    I just installed Windows 7 Home Premium 64 - bit on my laptop. As well as the screen of the laptop, I also use an LG Flatron 19 "screen. I set it up to "Extend the screens" with the LG being the primary display monitor. That's the way I want it, and it worked very well when I had (previously) 32-bit Windows 7 HP.

    Problem now is that, even if the two screens appear, I don't then drag all the windows in the front of the LG screen to the laptop (I could before). I can't move my cursor within the laptop computer screen either.

    Any help appreciated.

    Thank you and best regards,
    Andrew J Fortune.
    Melbourne,
    Australia

    Hello

    I wasn't able to find 'Windows 7' forums, so I guess that's it.

    Problem now is that, even if the two screens appear, I don't then drag all the windows in the front of the LG screen to the laptop (I could before). I can't move my cursor within the laptop computer screen either.

    It is a Windows 7 forum... Where were the research?   Try here instead: http://windows.microsoft.com/en-US/windows/help/community

    Or here: http://social.answers.microsoft.com/Forums/en-US/category/windows7

    Check all of the display orientation in your display settings. The default display 1 on the left and 2 right. No matter where the 2nd monitor is physically located the mouse cursor will go just out of screen 1 on screen 2 from the right side of the display 1 with this setting. Same thing to drag windows throughout. You can fix this in the display settings by dragging the graph to display 2 based on its actual physical location relative to display 1. If your secondary monitor is on the left of your primary, drag the chart to display 2 on the left side of the chart to display 1. Same procedure for above - under the guidelines. The mouse must then normally move backwards on both screens.

  • How to disable a custom button field, extending the field 4.5

    Hi all

    I'm working on an application that builds in 4.5, but should work on almost all BlackBerry 4.5 devices from.

    My query is, I need to enable and disable a button custom field that extends the class of the field. I do use if the methods navigationMovement() and moveFocus() for devices not tactile, but on BB 9800 (Tourch) when I touch the button on the screen, it is worn.

    I don't want to use any API touch, can all about suggest me how disabled button on the ground without the help of the Touch API. Please don't suggest also on setEnable(), coz this is not supported in 4.5.

    Thank you

    Let isFocusable return false, for example

  • How can I restore changes to the size of the screen, so that the items do not extend off the screen?

    Original title: solution of "Screen Resolution"?

    How can I cancel a change to the 'screen Resolution' in option 'View' in the 'Control Panel' to decrease the size of the "text boxes", which extend beyond the screen of the monitor if the adjustment slider is off the screen?

    I suggest you take your question to the appropriate forum. This forum is for feedback on the site Microsoft Answers itself.

    Windows 7: http://answers.microsoft.com/en-us/windows/forum/windows_7
    Windows Vista: http://answers.microsoft.com/en-us/windows/forum/windows_vista
    Windows XP: http://answers.microsoft.com/en-us/windows/forum/windows_xp

  • I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward? Please help me _ @_. ___

    I have troublle with moving my emails from the Inbox to a folder? I also extend my screens whenever it comes to the screen upward?  Please help me * address email is removed from the privacy * I told my son I would have a computer on which I could get online and with a program I could throw my pearls inventory.

    but when he brought to me he forgot to put windows one. He put the express window and gave me the internet.  I had to go out and find free programs to do the inventory and other things. It's good, but I have trouble with the above two questions.  Can someone help me?

     
    1. What e-mail program?
    2. What is a Windows?
    3. What is Windows Express?
     
     
    Any window that you want to resize all the time must be the last closed window.
     
    Take the corners of the window and drag it to the format full screen. Do not use to expand. Close all other windows first via the taskbar and the latter. Windows will remember the size of the last closed window the next time that you open the program.
     
  • When I turn on my computer, it gets stuck on the ultra-portable gigabyte 3 screen and custom which leave me there 2 hours still no luck the only button that works are TAB rebooting too

    Original title: stuck

    When I turn on my computer, it gets stuck on ultra-portable gigabyte 3 screen and custom wide movement which I gave 2 hours still no luck the only button that works are TAB restart too it can someone help please

    Follow these steps:

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

    A description of the options to start in Windows XP Mode

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

    Step 2: If the problem does not still in safe mode, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

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

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

Maybe you are looking for

  • HP 14 AM032TU: Driver Wifi for HP 14 AM032TU

    Hi all the gurus here... Thanks for reading this. I really need help now. Recently I bought HP 14 AM032TU, pre-installed with Windows 10 Home But I just changed the Windows 7 Professional Service Pack 1 (64-bit) operating system. I managed to install

  • want to 13_d000nx: upgrade memory Envy 13

    Please can you advice if it is possible to improve my memory of 13_d000nx want to 8 GB of ram with 16 GB of ram?

  • Your opinion about Satellite A100-906

    I'm about to buy.Anyone can recommend? I personally interested in the life of its graphics and battery. I do have problems with Go7600 overheat?If she is underclocked?No problem with the CD/DVD-ROM?

  • Very high values of CPU Vcore

    Hello After that I noticed that my MacBook Pro (15 ", mid-2014, 2.2 GHz Intel Core i7, El Capitan) started running without apparent heavy load, I installed iStat Menus to check the temperature of my hardware. The time seemed right, however I noticed

  • SQL Server 2005 express edition service pack 4 KB2463332,.

    I am running XP Pro, I installed Server 2005 SP4, it, but all the minutes that the shield facility seeks back so that it can be installed, I rebooted the computer 4 times, but he returned always come back, now I install 5 times?  any help would be gr