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?

Tags: BlackBerry Developers

Similar Questions

  • Move the vertical scroll bar of the Panel to the left of the Panel

    I have a skin Panel with the following:

    <s:Scroller id="contentScroller" height="100%" width="100%" 
                     horizontalScrollPolicy="off" verticalScrollPolicy="auto">
        <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0"/>
    </s:Scroller>
    

    For the life of me I can't understand how to move from contentScroller to the left of its container.

    I tried setting contentScroller x, y, up, left, down, right, the properties height and width to different values, but what I have in the extract seems to be the only way that it appears at all.

    Based on the research, I tried this in the script of the skin:

    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
        super.updateDisplayList( unscaledWidth, unscaledHeight );
        if( contentScroller.visible ) {
            //contentScroller.verticalScrollBar.x = 0;
            contentScroller.verticalScrollBar.x = -contentScroller.verticalScrollBar.width;
        }
    }
    

    Or lines in the if block makes no difference as to where this thing is rendered.  Here's a screenshot of my Panel:

    crap.JPG

    And here's what I would do:

    crap2.JPG

    Thanks for the research!

    I found a solution.

    I removed the code in the script block and I went back to a scroller in the mxml.

    
        
    
    

    I thought that I could set the vertical scroll bar by creating a skin based Scroller.  In the generated file, I saw this:

    Scroller unconditionally sets its skin's layout to private layout
    implementation that handles the scroll policies.  Scroller skins can
    only provide replacement scrollbars.  The skin's layout and
    constraints or dimensions set on skin parts will not be honored.  To
    gain more control over the layout of a viewport and its scrollbars,
    instead of using Scroller, add them to a Group and use the ScrollBar component's
    viewport property to link them together.
    

    So I then changed my skin Panel to look like the following:

    
        
            
        
        
        
            
                
            
            
        
    
    

    Finally, I added the following to the script block for positioning controls correctly:

    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
        verticalScroller.left = topGroup.height;
        contents.left = verticalScroller.x + verticalScroller.width;
        super.updateDisplayList( unscaledWidth, unscaledHeight );
    }
    
  • The vertical scroll bar of a Tilelist style

    Is it possible in flex for the vertical scroll bar of a tilelist style, rather than using the boring default scroll bars? What I have in mind is to have a place and a down arrow in the top and bottom where the regular scroll bar would actually then when my tilelist has more items than do the heaight these arrows will and act as a scroll bar.

    Is this possible?

    This example uses Degrafa (right click to view Source):

    http://PV3D.org/2009/04/14/theres-more-than-one-way-to-skin-a-ScrollBar/

    http://www.FoxArc.com/blog/article/101.htm

    If this post answers your question or assistance, please mark it as such.

  • move the vertical scroll bar in a table

    Hello

    In my VI front panel contains a table of results with the visible vertical scroll bar.  When the program runs a performing a test, I am inserting a line every time the captured result.  The row is inserted in the lower part, and when all the visible lines are met you can not see the final result.  What I want to do is either focus on the last row to move the vertical scroll bar or move programmatically control scrollbar itself.  Is this possible?  If this is not the case, what is the property node that I need to display the last line of a table.  I have inserted the data at the top of the table, but this isn't really what the standard application programs do!

    Thank you

    Martin

    See attachment...

    Dan

  • In what LabVIEW version was the "vertical scroll bar system" introduced?

    Hello

    Does anyone know what version of LabVIEW, the 'vertical scroll bar system' has been introduced?

    Thank you

    8.0

  • Instability of the vertical scroll bar of the Panel

    Win 7 Professional, SP 1, 64-bit on a Lenovo ThinkPad. The vertical scroll bar on the "Programs and features" Control Panel suddenly is so unstable that it is impossible to click on a title. Agitation is present both a Logitech mouse and ThinkPad track point device, well even more so with the mouse. The mouse driver is up to date, and the batteries are charged.  The instability of the scroll bar does not seem to occur in all areas of the Control Panel, but appears on some menus of Windows Explorer, to a certain extent on this page (I have difficulties to access the submit button) and some Internet sites. Word so far.  What do about it?

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    1. You did it no particular change in the computer before the show?

    Please, try the following suggestions and check.

    Method 1: Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows/Start-computer-safe-mode#start-computer-safe-mode=Windows-7

    If the problem does not occur in safe mode or safe mode with network and then places the machine to clean the start State and check if helps you solve this problem.

    Method 2: Run the clean boot

    Put your system to the clean boot state helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    See the link to perform the clean boot.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135/en-us

    Note: See 'How do I reset the computer to start normally after a boot minimum troubleshooting' to reset the computer starts normally after troubleshooting.

    Let us know if the problem still persists. We will be happy to help you further.

    Thank you

  • Windows 7 and using Google Chrome - the arrow pointing down in the side scroll bar does not appear

    Have Windows 7 and using Google Chrome - the arrow pointing down in the side scroll bar does not show unless I click on far right of the bar to scroll down and then click again to bring Google chrome

    Hi NeilHacking,

    The issue is specific to Google Chrome?

    If the problem is specific to Google Chrome, I recommend you to ask your question in this link:

    http://productforums.Google.com/Forum/#! Forum/chrome

  • I lost the vertical scroll on my Touchpad

    I lost the vertical scroll on my Touchpad pointer device on my laptop G61-110EA. 64-bit Windows 7 system. I get a message saying "Unable to connect to the Synaptics Pointing Device driver" which I assume is prevents me change settings such as scrolling not enabled in the properties of the driver. How can I get that back?

    Hello

    You will not have an external mouse as Windows will automatically load a generic driver for the touchpad, it can be used before installing the Synaptics driver.

    Kind regards

    DP - K

  • How to hide the vertical scroll bar in the Combobox?

    Hello

    I try to hide the vertical scroll bar in my combobox, because the number of items is small so it is not necessary that the vertical scroll bar is displayed.

    I have a very strange behaviour :

    When I view for the first time in my combobox, the vertical scroll bar is displayed - unless I have enough evidence to justify the appearance of the vertical scroll bar!

    When I select an item in my combobox, the vertical scroll bar disappears (good behavior): it is always the same list of items!

    I have try several solutions... the vertical scroll bar always appears!

    If you have any ideas, it will be fun...

    Thanks in advance

    concerning

    FM

    Try the following:

      primaryStage.show();
            Platform.runLater(new Runnable() {
                public void run() {
                    final Node scrollBar = comboBox.lookup(".scroll-bar:vertical");
                    scrollBar.setOpacity(0);
                }
            });
    
  • How to force the vertical scroll bar to display on each page?

    Hello

    Is it possible to force the vertical scroll bar appears on each page, even if it is not needed?

    I have a site with pages larger than the browser window, and others which are smaller. The scroll bar appears only on adults and forcing elements from left to right on the left to navigate through the pages.

    Any help would be appreciated.

    Thanks in advance

    VM

    In the section header of Page Properties try adding the following code:

  • ADF faces table resets the position of the vertical scroll bar

    Hi all

    I have a table on a page with 1000 records adf and when I try to see the records in the middle of the table, for example, the vertical scroll bar returns automatically to the top position.

    Any ideas would be appreciated!

    Thank you

    JDeveloper version: 11.1.2.3.0

    Published by: lorpad on November 29, 2012 12:59

    Published by: lorpad on December 5, 2012 12:26

    Just checked in my application (11.1.2.3, 1000 + lines) and it works as expected.
    You can try to reproduce this problem with simple test cases and if it works then compare table and properties of VO.

    Dario

  • HTP.p (&lt; pre &gt;) and the vertical scroll bar

    Greetings,

    Carl has used the code below for a process of OnDemand
    http://Apex.Oracle.com/pls/OTN/f?p=11933:13:3295006254376178
    Can I set the height and have the vertical scroll bar with the pre tag?
    I tried a div without success.

    declare
    VARCHAR2 (4000) l_Id;
    l_String varchar2 (32767).
    Start

    Select the DESCRIPTION in l_String of "RANDOMDATA' where id = v('TEMPORARY_ITEM');

    HTP.p ("& lt; pre & gt ;'|| l_String | "& lt; / pre & gt ;') ;

    end;


    Thank you
    Tim

    Published by: Tim Arnold on January 18, 2009 08:14

    Hello

    When you tried with your DIV, you specified a width style? I found that it only works when you have this game.

    Something like:

    <div style="overflow-y:scroll; height:100px; width:200px;">
    <pre>
    ...
    </pre>
    </div>
    

    will work, but:

    <div style="overflow-y:scroll; height:100px;">
    <pre>
    ...
    </pre>
    </div>
    

    will not work. I don't know why!

    Andy

  • problem with the vertical field Manager / vertical scroll

    Hello

    I've set up a screen which makes use of a vertical field Manager by using the following code:

    class Main_Menu extends MainScreen {
    
        public class FixedWidthButtonField extends ButtonField{
            private int width;
    
            FixedWidthButtonField( String label, int Width){
                super( label, Manager.FIELD_HCENTER);
                width = Width;
            }
    
            public int getPreferredWidth(){
                return width;
            }
        }
    
        public Main_Menu() {
            setTitle(new LabelField ("Main Menu Screen", Field.FIELD_HCENTER));
            setStatus(new LabelField ("Breakout Game ©", Field.FIELD_HCENTER));
            VerticalFieldManager backgroundManager = new VerticalFieldManager(Manager.USE_ALL_WIDTH|Manager.USE_ALL_HEIGHT|Manager.NO_VERTICAL_SCROLL)
            {
                protected void paint(Graphics graphics) {
                    graphics.setBackgroundColor(0x0000A2E8);
                    graphics.clear();
                    super.paint(graphics);
                }
            };
    
            FixedWidthButtonField playButton;
            FixedWidthButtonField instructionsButton;
            FixedWidthButtonField topScoresButton;
            FixedWidthButtonField quitButton;
    
            playButton = new FixedWidthButtonField("Play",(Display.getWidth() / 2) - 80);
            instructionsButton = new FixedWidthButtonField("Instructions",(Display.getWidth() / 2) - 80);
            topScoresButton = new FixedWidthButtonField("Top Scores",(Display.getWidth() / 2) - 80);
            quitButton = new FixedWidthButtonField("Quit",(Display.getWidth() / 2) - 80) {
                protected boolean navigationClick(int status, int time)
                {
                    getScreen().close();
                    return true;
                }
            };      
    
            playButton.setMargin(40,0,0,0);
            backgroundManager.add(playButton);
            instructionsButton.setMargin(10,0,0,0);
            backgroundManager.add(instructionsButton);
            topScoresButton.setMargin(10,0,0,0);
            backgroundManager.add(topScoresButton);
            quitButton.setMargin(10,0,0,0);
            backgroundManager.add(quitButton);
    
            add(backgroundManager);
        }
    }
    

    The problem I have is that the screen scrolled down to see the empty space after the final touches, and I can't seem to overcome this problem and prevent additional scrolling. I just want the ability to scroll the 4 buttons and have a blue background on the entire screen.

    Thank you

    Just quickly, so watch migth have wrong, but if you have a good overview of this very useful article:

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

    I think you will find that you need to add the following at the beginning of your screen manufacturer:

    Super (NO_VERTICAL_SCROLL)

  • How to hide the vertical scroll

    Hello!

    I have a Webworks app and I m facing a problem that I don't know how to solve.

    The app width was the fine screen (full screen), but when I move the pointer to the right to select something, white vertical scrolling appears. Is it posible to keep hidden? Overflow hidden does not because I need to be able to scroll down. I don't want to see it.

    Thank you!

    OK, I finally discovered what was going on. The footer is a bit bigger that the page because of padding so the entire page content was greater than the size of the screen.

  • How to display the vertical scroll bar in custom painted screen?


    a simple and intelligent search forum and I solved the problem.

    Screen does not scroll without an active field before and after the Manager of the vertical.

    I just addedd a NullField before the Manager and everything works fine!

    Thank you

Maybe you are looking for

  • Safari stops

    Whenever I try to enter a URL in the window, Safari on my iPad Pro stops. Any ideas?

  • Built-in keyboard on the Ipad 2 air

    Hello This is the question on the keyboard integrated on my Ipad. Can someone tell me if there is a way to upgrade the keyboard on my Ipad? For such an expensive piece of kit, the keyboard does not appear to have great functionality. For example, if

  • Blue screen while watching youtube

    original title: blue screen of death while watching youtube Hello all I have a problem with playback of youtube on my laptop. I am running windows xp and I have an acer aspire one. If I watch videos that are really very strong on youtube computer scr

  • My Sansa e260

    Recently, I deleted all mu music files in the folder... and since my gadget lodged from time to time I RESET the system... and the next thing that when I turn on my mp3... it became black in white and it say a small icon "does NOT load MAIN IMAGE, GO

  • Save the configuration to ASA 5505

    Hi all, I have this problem, I save the configuration to the ASA 5505 help RAM or using the copy, run start but whe I unplug the power cord and plug it back to the ASA gets its default factory configuration... so what I do is a copy start run to get