Visual my manager of vertical scrolling

Hello everyone,

I use a vertical Manager that contains 7 custom managers (HM) horizontal focusable containing 3 fields each. When I run my application on devices of small screen like the 9300, I see 4 (HM) at a time and the need to scroll down to see the other. expect that the Manager of vertical scrolling only when I reach the last HM? This means when I jump to the 5th HM, I can't see it because the Manager does not scroll. He only scroll when I reach the last of them, and I continued to go down. I want the scroll to be synchronized with the update so that I can see the terrain with the update.

Thank you for your help

NOTE: the vertical Manager I use is the standard one that's why I did not add the code. I use it with vertcalscroll and the style of vertical scroll bar

I solved the problem by defining a focusable fields my manager custom take. It works fine at 100%

I think that there is much better way to do it.

Thank you guys for your help.

Tags: BlackBerry Developers

Similar Questions

  • Addition of vertical scroll bar to the Senior Manager

    Hello

    I want to add the vertical scroll bar to the Senior Manager. Somebodu can help me? How can I add?

    The article just Kropotkin, so the new link should now work for everyone:

    Implementation of a standard style on a Blackberry device scroll bar

    See if it works for you.

  • verticalmanager down in the vertical scrolling Manager

    Hello

    I have created custom components that extend a class that implements verticalfieldmanager

    These classes contain a number of areas for example a label a textfield, another label and image

    I get a list of these objects (vertical field managers that contains several components) and add each of them to another manager of vertical in the main screen

    My problem is when the scrolls to screen through my list of vertical management focus is moved to the first active item in the Manager so when you exceed the first couple and the screen needs to access you will only see the first item in the component. I want to be able to scroll the main Manager until the end of the component, but still leave the focus in the first element. How can I do this?

    Looks like you want to have a field in short but be able to scroll through the other VerticalFieldManager.

    You can override navigationMovement to the screen and setVerticalScroll for certain VFM, but she will break habitual movement of development on the screen (the other side effects are possible). You want to do?

  • Need help with this Vertical field Manager? It scrolls to the low n!

    I created a vertical field Manager

    public class BGManager extends VerticalFieldManager{
        public BGManager() {
            super(VerticalFieldManager.USE_ALL_WIDTH|USE_ALL_HEIGHT);
        }
        public void paint(Graphics graphics)
        {
            graphics.setBackgroundColor(Color.BLACK);
            graphics.clear();
            super.paint(graphics);
        }
    
    }
    

    I added to my screen, then I added fields in addition to this.

    It works fine, but the Manager starts to scroll down when the focus is on the last field and I'm trying to scroll down.

    He does not stop to the last topic.

    How can I fix?

    Take a look at this thread. It addresses exactly your problem with solution:

    http://supportforums.BlackBerry.com/T5/Java-development/VerticalFieldManager-with-fixed-size-scroll-...

  • 0 line ListBox and vertical scroll bar problem

    Hello

    I tried to do simple VI where I can check the items in the Listbox control. My problem is that when I click anywhere on the buttons with the triangles, the mouse down or the vertical scroll bar of the event triggers and check the item in the line 0.

    Is this a problem or is it just a mistake in the code?

    For some reason, I'm not able to fix VI, so block diagram is below.

    Thanks for any help.

    I use LV 2010.

    Duri

    Here's a demo VI, who manages the selection listbox like that with a single click.  Sauve saved in 2011, uses the OpenG table.

  • Vertical scroll bar on a screen that has no assets.

    Hello

    I have a data grid only display on my screen. Table cells don't have any accent.  As the table may have more lines that it can fit on the screen, I want to show a vertical scroll bar that would scroll of the page by page.  Is it possible to do?

    Thank you.

    manager.add(new NullField(NullField.FOCUSABLE));
    

    It is up to you to know where to place them for optimal scrolling.

  • vertical scroll Limit in pane

    Hello

    I use a panemanager to display a list of uneven objects in 7 parts. When I scroll down, some of the components have a blank white background. This is because the components need to have an equal amount of objects is not for that.

    My question is how to limit scrolling to each pane did not go beyond the last object.

    Another question is, how do I set the HorizontalScrollableTitleView to be in a fixed position, so it doesn't scroll on the screen (such as the title bar)

    Thanks in advance!

    Follow these steps

    Manager is not any scrolling

    Manager B has vertical scrolling

    Add B has (as A.add (B))

    Add an inScreen linke (add (a))

  • Problem Manager of vertical area

    Hello

    I'm currently provide a screen that displays text using a manager of vertical field of the to do. Since that, I recently added a bitmap to the screen. Now the trackball on the Simulator and the current system does not scroll upwards or downwards, and subsequently that half of the image is displayed. This is my code:

    You must make your LabelFields ASSETS too.

  • Vertical scrolling UI problem

    Hello

    I'm just facing an interesting problem with vertical scrolling. All I need is to have a static text as a header that is always on the top of the screen. Everything under it is inside VerticalScrollManager.

    I put it in place and it worked for OS5 and lower. Now, I tried in OS6 and it does not work so this code is probably not the ideal. Could someone corerct me if you please.

    public MyScreen() {
    super(Manager.NO_VERTICAL_SCROLLBAR|Manager.NO_VERTICAL_SCROLL|Manager.NO_HORIZONTAL_SCROLL|Manager.NO_HORIZONTAL_SCROLLBAR|Manager.USE_ALL_WIDTH);
    setTitle("Title");
    
    VerticalFieldManager content = new VerticalFieldManager(Manager.VERTICAL_SCROLL|Manager.VERTICAL_SCROLLBAR) {
    
    protected void sublayout(int w, int h) {
    Field field;
    //get total number of fields within this manager
    int numberOfFields = getFieldCount();
    int x = 20; // I want the fields to be 20 px left of the edge
    int y = 0;
    for (int i = 0;i < numberOfFields;i++) {
       field = getField(i); //get the field
       setPositionChild(field,x,y); //set the position for the field
       layoutChild(field, w-40, h); //lay out the field
       y += field.getHeight()+5;
    }
    setExtent(w-40, h);
    }
    
    };
    
    LabelField topLabel = new LabelField("Always on the top text" );
    add( topLabel );
    
    // many times...
    LabelField allOthers = new LabelField("Other fields..." );
    content.add( allOthers );
    // end many times
    
    add( content );
    
    }
    

    All fields are positioned okay but when scrolling should appear, nothing happane and the cursor disappear under the screen...

    Note: question just the OS 6

    Thanks for any help.

    Jiri

    Finally,.

    I found out the way.

    Pretty simple. Just added

    super.sublayout(w, h);
    

    the first line of the sublayout method.

    So, can someone help.

  • How can I use both scrolling and vertical scroll?

    Hello

    I am new to Blackberry. I have drawn on the use of horizontal and vertical scrolling scroll, however there is no adequate solution (or there is really no way?). Furthermore, I'm showing a datagrid on the screen, but it does not fit in the screen. There are twelve columns and more than a hundred lines which are not editable or selectable.

    Thanks for your replies!

    If you override Manager.moveFocus () you can manually call setVerticalScroll() or setHorizontalScroll(). You can use the status of the function moveFocus to say if you move vertically or horizontally.

  • Is Hey, there a way to make elements evolve vertical scroll? Thanks :)

    I wonder if it is possible to make evovle of elements according to the vertical scroll, like the margin of a background or something like that, to make a non responsive site only horizontally, but vertically site sensitive too using Adobe reflow.

    Thank you

    Currently we are worn on html and css, and although it is very simple to add in some JS to achieve the change scroll position, let's just about html and css for now.

    We are working on getting management implemented, as well as multiple pages. I can see a scenario where you can design and apply the classes on different pages to achieve the design you want, but without the JS to swap classes. To do this, you'd be yourself

  • Flex grid: width changes automatically if vertical scrolling policy is 'on '.

    Using Flex 4.1

    I have a grid with vertical scroll policy 'on' I want to make the scroll bar vertically to be shown always. But when I start to add the grid lines, the width of the grid continues to increase to 15 (width of the scrollbar?). I stuck a very simple application below where this behavior is seen.

    No idea why this is happening? Am I missing something to mention?

    There was a bug with vertical scroll policy (http://www.nbilyk.com/flex-scrollpolicy-bug), but it's horizontal scroll bar appearing when the vertical scroll bar is needed instead of content control. It says nothing about the increase in bandwidth.

    Capture instant initial: note the evolution of the distance between the grid scroll bar and the black border that we add more lines

    Grid_with two rows.JPG

    Grid_with four rows.JPG

    Grid_with more rows.JPG

    The application is just a grid with a line containing just one button. all the width is set to 100%

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "500" minHeight = "600".

    width = "500" >

    < fx:Script >

              <! [CDATA]

    protected function add_clickHandler(event:MouseEvent):void

                   {

    var gridRow: GridRow = new GridRow();

    gridRow.width = grid.width;

    grid.addElement (gridRow);

    var gridItem: GridItem = new GridItem();

    gridItem.width = gridRow.width;

    gridRow.addElement (gridItem);

    var button: button = new Button();

    button.width = gridItem.width;

    button.label = "some other row.                   

    gridItem.addElement (button);

                   }

              ]] >

    < / fx:Script >

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < s:BorderContainer

    borderAlpha = "1" borderColor = "0x000000".

    width = "100%" height = "100%" >

    < s:Button

    id = "add" x = "10" y = "10".

    label = "add a line in the table below.

    click = "add_clickHandler (event)" / >

    < mx:Grid

    ID = "grid" x = "0" y = "50".

    verticalScrollPolicy = "on".

    width = "70%" >

    < mx:GridRow width = "100%" >

    < mx:GridItem width = "100%" >

    < s:Button width = "100%" label = "first line" / >

    < / mx:GridItem >

    < / mx:GridRow >

    < / mx:Grid >

    < / s:BorderContainer >

    < / s:Application >

    do not use width percentWidth to use when you set the changes dynamically.

    gridRow.percentWidth = 100;


    gridItem.percentWidth = 100;


    button.percentWidth = 100;

  • PowerPoint for Mac bar vertical scrolling does not work in the Sierra

    I have downloaded Sierra, open a PowerPoint for Mac 2011 version 14.5.4 and immediately noticed that the vertical scroll with my mouse does not work. They're only going to 'up' (for example, slide 14, 13, 12, 11, 10) or will be stuck between 2 blades.

    I unplugged and replugged my mouse, turned PPT market twice and rebooted my MacBook. No change.

    I know it's early days and these are the pains of growth with the new OS, but I use PPTX constantly.

    Any tips are appreciated.

    Have the same problem. I don't know that this isn't a mouse problem because it happens when I use the touchpad as well.

  • Safari freezes for vertical scrolling

    OSX Safari 9.1.2 10.11.6. iMac is often planted so that pages web vertical scrolling (often on Facebook or Yahoo). Must restart to recover. Is there a way to clean cookie or other files that could contribute to this event?

    It is not a cookie issue, but rather an extension incompatible or third Safari causing plug-in Safari crashing.

    Troubleshooting help here > If Safari is slow, unresponsive, which closes unexpectedly or has other issues - Apple Support

  • Adobe edge animation shows unwanted vertical scroll bar in firefox only

    someone has any idea how to lose a vertical scroll bar on a site where I built an advanced adobe reactive animation. on all other browsers the overflow: hidden works perfectly. only in firefox make a scroll bar appears. little help please. the site is http://www.drotardesign.com/dd/about.html

    d

    I doesn't seem to work if you apply too full: hidden in the object tag.
    It doesn't work if I add this attribute to the body of the animation.
    You can consider using an iframe that have scrollbars hidden instead of an object tag.

Maybe you are looking for

  • How can I stop Firefox by logging into my gmail account whenever I go to the Google search page?

    I set Google as my homepage, so whenever I start FF it connects to one of my Gmail accounts. Always the least used too.I would prefer not to do that and hope that there is a solution.

  • The proxy server refuses connections

    My Pc has a virus and trend helped me to remove, but now whenever I connect to Fire Fox set-aside notification appearsThe proxy server refuses connectionsFirefox is configured to use a proxy server refusing connections.Check the proxy settings to mak

  • RT: fault 9512 module when you use the hybrid mode

    Hello, I have a problem with my configuration of hyrbid cRIO. I am currently using Labview 2010, cRIO-9074, x 1 NI 9234, and NI 9512 3 x. Summary: What you trying to accomplish? -J' built two screws, one who acquires the data of a NI 9234. This vi is

  • Integrating external code to receive faxes

    Dear expert HP, I would like to know if we can summon or become part of a code external, i.e. java, ecm, webservice fax upon receipt of the fax machine. If HP devices, what model of fax machine and what functions allow us to do? Appreciate your comme

  • Convert 3.1 VI to 8.6

    Could someone please convert this VI 8.6 3.1 or versions that can be opened in Labview 8.6?