How can I display the last field added to the Manager (bottom) and keep the scrolling feature?

Issues around scrolling on managers of blackberry is a real headache.

I would like to be able to add fields to the bottom of a Manager and have this field displayed on the merits without taking the focus to another control.

I'm looking for something similar to how works the yahoo chat window, for example.

I was not able to get the last label field added to the box to display.

Here is the code relavent I have:


 //adds a labelfield and a nullfield to the display    public void update()  {     UiApplication.getUiApplication().invokeLater( new Runnable()        {            public void run()            {             try               {                 scrollingWindow.add(new LabelField("Hello1" + count) );                   //add nullfield to facilitate scrolling                   NullField nullField = new NullField( NullField.FOCUSABLE );                   scrollingWindow.add(nullField);                   count++;              }             catch( Exception ex )             {                 Dialog.alert( ex.getMessage() );              }            }        }); }

Any ideas?

Couple of quick things:

(1) you can make your LabelField focusable and save adding the NullFields

New LabelField ("Hello1" + count, Field.FOCUSABLE)

(2) have you tried to discover what field has focus, then set the focus on your new field, and then reset back to that he originated from?

Tags: BlackBerry Developers

Similar Questions

  • How can I display the time of the data stored in a file using labview?

    How can I display the time of the data stored in a file using labview?

    Hi Matt,

    I think that we will need a little more information as to how you capture the data, what data you capture, etc.

    If you capture a waveform, is to extract the time data waveform which includes the t0 and dt values, so you can understand the time stamp of a specific data point as in the image below.

  • I'm new to lightroom 6. I look at try videos & they have sport options in the right panel. When to go to import, I have a small rectangle in the middle of my screen. How can I display the import options in the right panel?

    I'm new to lightroom 6. I look at the video traing & they import options in the right panel. When to go to import, I have a small rectangle in the middle of my screen. How can I display the import options in the right panel?

    Hi marinersr,

    You don't mean that the import window is reduced?

    You can develop that will bring to the top of all the options to import for you.

    Kind regards

    Claes

  • How can I display the display value for an element of lov in another area

    My page has a few elements that allow the user to select specific criteria for their report.
    pn_person - select point based on lov. Lov shows the name of the person and returns the code of the person in pn_person

    When the user has made their choice, they press a button that the report is generated.

    I want to do is show the display value for one of the search fields in the title of the report (for example, person_name) region. I think to do that I need to create a (hidden) pn_person_name point, then I put & pn_person_name. as a region

    However, how can I get the value of pn_person in pn_person_name display?

    I thought that apex_item.text_from_lov, but don't know how to use it - what elements (types), the calculations / process I need to create...

    THX Caron

    Published by: user11267129 on January 7, 2010 15:01

    Published by: user11267129 on January 7, 2010 15:02

    Published by: user11267129 on January 7, 2010 15:02

    Caron:

    You can use javascript to set the value of 'pn_person_name' to display the LOV selection value.
    Set the form field HTML to the elements attributes for the element of selection as list page

    onchange=$s('PN_PERSON_NAME',this.options[this.selectedIndex].text)
    

    CITY

    Published by: city has on January 7, 2010 17:22

  • How can I display the printable two than non-printable ascii characters from a device and display it in a text box?

    Hello

    My send UUT to my computer via serial port of printable and non-printable ascii characters. The question is:

    (1) how to display all characters in a text box.

    (2) how can I display all these characters in hexadecimal format and display it in a text box?

    Thank you.

    Robert

    Text boxes can actually receive channels with printable and non-printable characters: nonprinting characters will be represented with a small square. For example, consider this code:

    tank has [512], msg [512];

    Create a string with embedded unprintable characters

    sprintf (one, "Hello: %c %c %c %c % c: World!", 1, 2, 3, 4, 5);

    Pass the string to the text box "such what."

    ResetTextBox (bH [1], b1_n, a);

    Format a hexadecimal representation of the string and add it to the text box

    FMT (msg, '\n%*d[zb1r16w2p0j1]', strlen (a), a);
    SetCtrlVal (Bosnia and Herzegovina [1], b1_n, msg);

    The result is as follows: the first line is the string passed "such what", what follows is the hexadecimal representation.

  • How can I display the first image of a built-in clip?

    I prepare a presentation for my 10.11.16 retina, with Keynote 6.6.1 MacPro OSX. I want that it contains clips integrated to my films. I chose the simplest theme - plain black.  I drag and drop these Quicktime movies or .mov of iTunes to a new black slide in Keynnote.

    When I'm in mode Navigator or Light Table etc, what I see is a series of black images - although if I click with the mouse the video will play. How can I see the first frame of the movie, and don't forget that it will start when I move to the slide, so that I can see the order of presentation, or know what's coming?

    You see black because it is what is contained in the poster frame, which is the first frame of the video by default.

    To change the original image: click the video on the slide to select it, then go to: Inspector > Format > film

    either drag the corrector, or enter a number in the box, here I'v entered 4 seconds for the poster so frame the frame of departure:

  • How can I activate the scroll function on my laptop mouse pad?

    Hello

    My laptop mouse pad is no longer scroll in FireFox or MS Word (or any other program I've tried) since switching from Vista to Windows 7. In the Windows Help section, it suggests that there should be a tab "Scrolling" in the mouse properties window, however, when I opened the window just 4 tabs are "Buttons," "Pointers," "Pointer Options" and "hardware". How can I switch on / activate the scrolling feature?

    Thank you

    John Cordukes Colleen

    Have you installed win7 drivers for your model laptop, laptop manufacturers website? I guess that your laptop modela win7 drivers available?

  • How can I eliminate the scroll for different elements of the page bar?

    I downloaded DreamWeaver CC 2015. I had worked through a tutorial on DreamWeaver CS3, which included a cap, a sidebar, and a main display area. The main display area was scrollable, but the other sections were not. Unfortunately, I lost this tutorial, and I don't know how the non-defilement sections have been fixed. Now, I'm trying to find out how remove (turn off) the scroll bar on some areas of the page. And since I'm on bootstrap.css, the style settings may prevent my being able to eliminate scrolling. I don't seem to be able to substitute the bootstrap.css styles, and I guess that's the way that DreamWeaver is designed. What is the magic trick to do this?

    Ben Pleysier wrote:

    engineerbob wrote:

    The section that I wanted the scroll bar is the one with the H2 heading + paragraph.

    Bob,

    I see that you use for your development, which is a good thing because it also allows delicate design Bootstrap. Problem is that - scroll bars are not useful in RWD, especially when it comes down to the smaller size of the screen.

    I don't particularly like the scroll bars myself, but the 'Tweet' is popular and use it. On small areas and within the limits I didn't see no problem in smaller screens.

  • How can I get the scroll bar of firefox on the right side of my screen to stay?

    The scroll bar appears, but he goes with this version. I would stay permanently.

    On MAC OS X

    SYSTEM Goto PREFERENCES > GENERAL > display the scroll bar > choose "always."

  • How can I display the custom field in Office Communicator so that everyone can see?

    In OCS, on your personal page, there is an option for the current location - create the custom location, I want to display the "custom" location instead of the busy, can someone help on how it works?

    Hello PK,.

    This forum is the right forum for this type of question:
  • How can I display the bookmark shortcut?

    The most recent update has deleted the bookmark button in my toolbar.
    Bookmark star also disappeared to the right next to my homepage of Foxfire.
    When I go in the menu at the far right of the Foxfire homepage bookmark Star opens a bookmarks column that cannot be added to, sorted or edited.
    There is no 'bookmark this Page' in the bookmarks column. There is instead a "change a bookmark this" which is unusable.
    When I try to move a bookmark in the bookmarks column I get only a gray bar mobile but no movement of associated bookmark and I can't delete the bookmark.

    In Firefox current releases the menu entry 'Bookmark this Page' in the bookmarks menu changes to "Edit this bookmark" once you have bookmarked the page and the star on the Navigation bar is highlighted blue.

    So do not get confused by the lack of 'Bookmark this Page' in the menu bookmarks and see "Edit this bookmark" instead if you try to bookmark a page that is already set bookmark.

    Note that you no longer have the bookmarks star in the address bar, but now have a star/record button combined to bookmark the link and open the drop-down list in the bookmarks menu that has "Show all bookmarks" at the bottom of the list

    In current Firefox released (29 and following), which are have a UI Australis, the orange Firefox menu button has been replaced by the three button bar of Menu of Firefox at the far right of the Navigation bar and this button is always visible, if you have the bar of menus visible or hidden
    A consequence of this situation, it is that you can no longer hide the Navigation toolbar

    • There is a star as the button next to the search bar on the Navigation toolbar to bookmark the current web page and a "Show bookmarks" button next to it to open bookmarks in a menu drop-down.
      You can find "Show all bookmarks" to open the bookmarks (library) at the bottom of the drop-down list manager
    • If bookmark you a page, then 'Bookmark this Page' in the bookmarks menu replaces it with "edit this bookmark".
    • You bring up the title bar via the "Title bar" button at the bottom left in the palette to customize window

    It is still possible to have the bar of menus visible via the menu popup of a toolbar for menus as the file menu to print (Ctrl + P) and preview before printing and the bookmarks menu available.

    See also:

  • How can I display the bar of the add-on in fullscreen?

    I dragged the textfield of the navigation bar in the bar of the add-on to get ehe navigation down. Now when I turn full screen, the bar of the Add on is hidden, which results in not having the field of navigation. How to display the bar of the add-on in fullscreen, permanently?

    Add code to the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #addon-bar[moz-collapsed="true"] { visibility:visible!important; }
    

    If you still wan to be able to hide the bar Addon then use:

    #addon-bar[moz-collapsed="true"][collapsed="false"] { visibility:visible!important; }
    
  • How can I display the Tamil fonts in Adobe CS6? Help, please...

    Hello

    I create a document in Tamil. Normally, I type in Google document. Then copy and paste into Word. It works perfectly.

    Now I create a poster in Adobe illustrator. I type in google and pasted into Notepad. It works perfectly.

    When I copy and past in Adobe Illustrator the police does not appear correctly.

    I have urgent need. Can someone help?

    I did a search on Google and found the following. But I am unable to find similar to Adobe Illustrator CS6 settings

    Thank you Ellis House. The issue has been resolved. Message from David that you pasted above was really helpful.

    In the preferences-> Type-> the text engine options I selected 'Middle East', unknown world that was "Southeast Asia", after the Tamil letters display correctly. Thank you very much...

    I saw another post that says that I need to enable view source option.

    http://helpx.Adobe.com/Illustrator/using/Indic-support.html

    Unfortunately, I don't have any option informant. My screen is different

    screenAdobeI.PNG

    I have a few Tamil Born installed. When I tried to change the Tamil police source, it no longer works.

    I have another font called Larson. When I changed the character displayed in Tamil Latha police, but all spelling badly shot in Tamil.

    Help, please. Enjoy.

    Thank you

    Notes; I am new to Adobe illustrator, so if I made a stupid mistake, my applogies.

    You are out of luck in your version. Support for the Tamils was added in CC

    http://helpx.Adobe.com/Illustrator/using/Indic-support.html

    You could try

    http://www.WinSoft-international.com/en/news/ScribeDOOR-CS5.html

    (also available for CS6)

  • How can I display the level of process to Phase in a grid or a data form?

    We use quotes by steps. I see that change the display on a grid options indicates the current level of process for the processing unit defined by the POV. But how can break down us by phase?

    Try what is suggested in the 243 Page of the User Guide:
    You can display several phases of submission, discovers the State of level of review and measurements of process in several phases in the control process.
    If you select view a single time period, you can select one or several phases of submission to include in the columns. For each column, you can display one or more of the following options: calculation of the status of newspapers, review, Pass/Fail and Validation level. If selected, review level, pass/fail and Validation are included for each phase. As State of calculation and reviews apply to the entire unit, they are shown that only once regardless of the number of phases are selected. If you select all the notice period, you can select the information status calculation or review level for columns. If you select the information at the level of the exam, you must select a submission phase
    for display. When you select all periods, or trees for display, filter option is not available.
    Here are the options:
    ! http://0ue0ag.Blu.livefilestore.com/y1pceBZ2nCvU8wYKj38bzK_O3B8eXo5XwfxwTkVeMdPu1fi6lHT_DcYrxlptGHYDm6N4lA0H2YMnWx4qtcOe4ttmM-em-fheg5P/phase%20Submission.jpg!
    And the result:

    ! http://0ue0ag.Blu.livefilestore.com/y1pWfMkCFrViEuCRyAHWCphl7y0gZBAK3UY1f2ECi1kme3_xP2FQjyG5f4TC7QHwoHPxBSb0GTKpyU6TXMSp9P5wR5LbJeYl5eu/phase%20Submission2.jpg!

  • How can I display the current time in larger font when I need a look at it?

    Before I updated to iOS 10, I was able to double press the home button and the display shows the current time. Is it possible to do it now? I am sometimes in low light conditions and can not do the smaller font at the top. Thank you

    By clicking on the bottom of the power (sleep/wake) displays the screen you want. In fact, in iOS 10, the figures of the time are still larger than in iOS 9.

Maybe you are looking for

  • Update Facebook on my iphone

    Update Facebook on my iphone wants the apple id and password to the former owner of my iphone What can I please?

  • New tab next to Active

    Quick question for you guys a long time ago I did, but now I've done it I forgot how. So, how can I open new tab next to curent an and that I would be able to achieve, who without any add ons?

  • Satellite L30 - PCI drivers have an error

    Hello I wonder if anyone can help me please. I have a satellite L30 and for some reason this morning it is say PCI drivers have an error and I have no internet. I usually connect them via the wireless network. I tried to install the realtek drivers,

  • had display having the sender of mail object poster

    T Bird stopped display the sender of the e-mail and only displays the subject of the e-mail. Any ideas?Thank you

  • 14AC132LA: 14ac132la

    Hello, I just bought a laptop 14AC132LA I want upgadre RAM memory. I couln can't find any manual with instructions on how to install the new memory, and also there I could not find anywhere the type of memory supported, max capacity, etc.. It's the p