Scrolling tabs

http://S14.PostImage.org/wjbu9junz/Untitled.PNG

How can I do something like that? It's marginally frequest appearing... all in the middle... and favorite left right...

AM stüch here do not know what to do

PaneManagerModel model = new PaneManagerModel();
          model.enableLooping( true );

          // setup the first tab
          VerticalFieldManager vfm = new VerticalFieldManager(
              Field.USE_ALL_HEIGHT | Field.USE_ALL_WIDTH |
              Manager.NO_VERTICAL_SCROLL | Manager.NO_HORIZONTAL_SCROLL );
          LabelField lbl = new LabelField( "Content for tab 1", Field.FOCUSABLE );
          vfm.add( lbl );

          LabelField myLbl = new LabelField( "Tab 1" );
          NullField nullFld = new NullField( Field.FOCUSABLE );
          HorizontalFieldManager hfm = new HorizontalFieldManager();
          hfm.add( nullFld );
          hfm.add( myLbl );

          Pane pane = new Pane( hfm, vfm );
          model.addPane( pane );

          // setup the second tab
          vfm = new VerticalFieldManager(
              Field.USE_ALL_HEIGHT | Field.USE_ALL_WIDTH |
              Manager.NO_VERTICAL_SCROLL | Manager.NO_HORIZONTAL_SCROLL );
          lbl = new LabelField( "Content for tab 2", Field.FOCUSABLE );
          vfm.add( lbl );

          myLbl = new LabelField( "Tab 2" );
          nullFld = new NullField( Field.FOCUSABLE );
          hfm = new HorizontalFieldManager();
          hfm.add( nullFld );
          hfm.add( myLbl );

          pane = new Pane( hfm, vfm );
          model.addPane( pane );
          model.setCurrentlySelectedIndex(0); TitleView header = new HorizontalScrollableTitleView(Field.FOCUSABLE);          header.setModel(model);          PaneView paneView = new PaneView(Field.FOCUSABLE);          paneView.setModel(model);          PaneManagerView view = new PaneManagerView(Field.FOCUSABLE, header, paneView);            view.setBackground(null);            view.setModel(model);            view.setFieldWithFocus(paneView);            PaneManagerController controller = new HorizontalScrollableController();            controller.setModel(model);            controller.setView(view);

            model.setView(view);                    model.setController(controller);

            view.setController(controller);                    add(view);    

its okey it worked.for now I want to see what happens more

Tags: BlackBerry Developers

Similar Questions

  • Oracle adf dynamic Scroll tab shell

    Hi all

    I use 11.1.2.4.0, i developed ADF application with shell tab dynamic Oracle JDeveloper.

    the problem is that I have a few pages too large jsff, should I add scrolling to the dynamic tab?

    Kind regards

    If you use a container that can be scrolled if the area is too small, it should work out of the box. Check Oracle ADF: a model with a behavior, if you add a scroll of type panelGroupLayout to the region, it should amine if the tank is too small.

    Timo

  • Tab of the static Menu on the scrolling of the list

    I have 4 legs, and I have a list. The list is scrollable, I want tho... scrolling tabs above to stay and to scroll just through the list?

    How can I fix my code?

    package mypackage;
    
    import java.util.Vector;
    
    import net.rim.device.api.system.EncodedImage;
    import net.rim.device.api.ui.DrawStyle;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FocusChangeListener;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.BasicEditField;
    import net.rim.device.api.ui.component.BitmapField;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.SeparatorField;
    import net.rim.device.api.ui.component.Status;
    import net.rim.device.api.ui.container.HorizontalFieldManager;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    
    public class TabControl extends MainScreen implements FocusChangeListener {
    
            private LabelField tab1;
    
            private LabelField tab2;
    
            private LabelField tab3;
    
            private LabelField tab4;
    
            private LabelField spacer1;
    
            private LabelField spacer2;
    
            private LabelField spacer3;
    
            private VerticalFieldManager tabArea;
    
            private LabelField tab1Heading;
    
            private BasicEditField tab1Field1;
    
            private BasicEditField tab1Field2;
    
            private LabelField tab2Heading;
    
            private BasicEditField tab2Field1;
    
            private BasicEditField tab2Field2;
    
            private LabelField tab3Heading;
    
            private BasicEditField tab3Field1;
    
            private BasicEditField tab3Field2;
    
            private BasicEditField tab4Field1;
    
            private BasicEditField tab4Field2;
    
            private LabelField tab4Heading;
    
            private VerticalFieldManager tab1Manager;
            private VerticalFieldManager tab2Manager;
            private VerticalFieldManager tab3Manager;
            private VerticalFieldManager tab4Manager;
            private int catId = 0;
            public TabControl(int id) {
                catId = id;
                HorizontalFieldManager hManager = new HorizontalFieldManager();
                tab1 = new LabelField("Top20", LabelField.FOCUSABLE | LabelField.HIGHLIGHT_SELECT);
                tab2 = new LabelField("Artists", LabelField.FOCUSABLE | LabelField.HIGHLIGHT_SELECT);
                tab3 = new LabelField("History", LabelField.FOCUSABLE | LabelField.HIGHLIGHT_SELECT);
                tab4 = new LabelField("Tab 4", LabelField.FOCUSABLE | LabelField.HIGHLIGHT_SELECT);
                spacer1 = new LabelField(" | ", LabelField.NON_FOCUSABLE);
                spacer2 = new LabelField(" | ", LabelField.NON_FOCUSABLE);
                spacer3 = new LabelField(" | ", LabelField.NON_FOCUSABLE);
    
                tab1.setFocusListener(this);
                tab2.setFocusListener(this);
                tab3.setFocusListener(this);
                tab4.setFocusListener(this);
                hManager.add(tab1);
                hManager.add(spacer1);
                hManager.add(tab2);
                hManager.add(spacer2);
                hManager.add(tab3);
                hManager.add(spacer3);
                hManager.add(tab4);
    
                add(hManager);
                add(new SeparatorField());
                tab1Manager = new VerticalFieldManager();
                tab2Manager = new VerticalFieldManager();
                tab3Manager = new VerticalFieldManager();
                tab4Manager = new VerticalFieldManager();
    
                tabArea = displayTab1();
                add(tabArea);
    
            }
    
            public void focusChanged(Field field, int eventType) {
                if (tabArea != null) {
                    if (eventType == FOCUS_GAINED) {
                        if (field == tab1) {
                            System.out.println("Switch to Tab 1");
                            delete(tabArea);
                            tabArea = displayTab1();
                            add(tabArea);
                        } else if (field == tab2) {
                            System.out.println("Switch to Tab 2");
                            System.out.println("Switch to Tab 1");
                            delete(tabArea);
                            tabArea = displayTab2();
                            add(tabArea);
                        } else if (field == tab3) {
                            System.out.println("Switch to Tab 3");
                            System.out.println("Switch to Tab 1");
                            delete(tabArea);
                            tabArea = displayTab3();
                            add(tabArea);
                        }
                        else if (field == tab4) {
                            System.out.println("Switch to Tab 3");
                            System.out.println("Switch to Tab 1");
                            delete(tabArea);
                            tabArea = displayTab4();
                            add(tabArea);
                        }
                    }
                }
    
            }
    
            public VerticalFieldManager displayTab1() {
    
                Vector v0 = new Vector();
                MAMClient.getTop20(v0, catId);
                SingersListField listField = new SingersListField(v0);
                listField.setSelectedIndex(-1);
                listField.setSize(v0.size());
    
            tab1Manager.deleteAll();
                tab1Manager.add(listField);
                return tab1Manager;
            }
    
            public VerticalFieldManager displayTab2() {
                if (tab2Heading == null) {
                    tab2Heading = new LabelField("Password Recovery");
                    tab2Manager.add(tab2Heading);
                }
                if (tab2Field1 == null) {
                    tab2Field1 = new BasicEditField("Security Question: ", "Mother's Maiden Name?");
                    tab2Manager.add(tab2Field1);
                }
                if (tab2Field2 == null) {
                    tab2Field2 = new BasicEditField("Password: ", "");
                    tab2Manager.add(tab2Field2);
                }
                return tab2Manager;
            }
    
            public VerticalFieldManager displayTab3() {
                if (tab3Heading == null) {
                    tab3Heading = new LabelField("Interests");
                    tab3Manager.add(tab3Heading);
                }
                if (tab3Field1 == null) {
                    tab3Field1 = new BasicEditField("Hobbies: ", "");
                    tab3Manager.add(tab3Field1);
                }
                if (tab3Field2 == null) {
                    tab3Field2 = new BasicEditField("Memberships: ", "");
                    tab3Manager.add(tab3Field2);
                }
                return tab3Manager;
            }
            public VerticalFieldManager displayTab4() {
                if (tab4Heading == null) {
                    tab4Heading = new LabelField("Registration");
                    tab4Manager.add(tab4Heading);
                }
                if (tab4Field1 == null) {
                    tab4Field1 = new BasicEditField("Username: ", "");
                    tab4Manager.add(tab4Field1);
                }
                if (tab4Field2 == null) {
                    tab4Field2 = new BasicEditField("Password: ", "");
                    tab4Manager.add(tab4Field2);
                }
                return tab4Manager;
            }
        }
    

    I solved it now

    Yes, you do the first floating and other horizontalmanager scrolling.

    but in the constructor of your form, you must specify this too
    Super(NO_VERTICAL_SCROLL |) NO_VERTICAL_SCROLLBAR);

  • Press the scrolling in HP 14 - d106TX does not

    Hello

    I have a HP 14-d106TX laptop and I installed sp64985 - Alps TouchPad driver for the touchpad drivers.

    I use windows touch getstures 8.1 and everything seems to work fine except the scrolling.

    Please help me solve this problem

    Thank you

    Hello

    Myself, I found the solution .

    After you install the Alps drivers for my touchpad.

    I did after.

    Control Panel > mouse > Touch Pad tab

    Then click on "click here to change the touchpad settings.

    Then go on scrolling tab, then you can do your scrolling seetings.

    Thank you

  • How to toggle thumbnails

    Hi all
    I use a laptop Lenovo G585, Firefox 40.0.3
    When I open a new tab, and before I chose a site to open, I show four thumbnails of sites. I know that there are more, but I'm unable to see by all means such as enabling/disabling or scrolling, as there is no scrolling tabs/arrows. The only way I can see is by removing one and then an other "pops" in the display, it goes against the purpose of click on thumbnails for return to the required site.

    How can I see thumbnails below these four is displayed, or how to get a view of those who are out of sight?
    Thank you
    Colin

    Hello otman,.
    Thanks a lot for your answer.
    Although I found a solution that has responded to my original question, I'll have a look at the suggestions that you have posted and perhaps one will prove to be more appropriate!
    As for the others, I'll copy and paste your suggestions and keep them for future consideration.

    Kind regards

    Colin

  • Pavé tactile Lenovo G510 help please

    Hi all

    Recently got a new laptop - Lenovo G510, 4700 i7, 12 GB ram, 500 GB SSD, new installation of 8.1 and all updated with the latest Windows/lenovo drivers. (add more RAM and new SSD myself - but the problem I was always present on the previous hard disk of 1 TB).

    All right, fast and I am happy with the exception of one thing annoying reallly I spent hours trying to find a solution to 95% for = the touchpad!

    When I scroll down on the touchpad... it... the page / screen scrolls upward!
    I refer to the edge of the right side of the touchpad with a finger.

    On any laptop I've had there was a setting where I can check/uncheck an option of scrolling so I can put it as I want - but this Lenovo uses Synaptics Touchpad v7.5 drivers and I can't find such a setting on the finger of a scrolling tab.

    I uninstalled the drivers simply use the windows drivers, but it gives no option, no scrolling and a jerky cursor = no good.

    I tried the Synaptics W7 drivers and it's all as well as the current 8.1 drivers.

    Drivers Lenovo Web site page there are 3 riders: W7 and W8, W8.1 - I tried all.

    I'm lost! I can't find a way to do such a thing simple... I want to be able to do is scroll down like I did for years and see the page down scrolling in the same direction!

    I posted this on another forum too and not had a solution yet, sent either support from Lenovo and no response.

    I know it's only a trivial thing and I should and could get used to it eventually... but I don't want to - my OCD won't let me - I want to establish this exactly how I have implemented any other computer laptop I have ever used.

    Oh and yes I have google and google and google!

    I watched a lot of solutions for the other similar/same problem, but they all seem to point to momentum/Elantech drivers but this laptop G510 only uses the Synaptics.

    If I'm stuck with it? I would be very grateful if anyone can think of any hack / / workaround solution, thank you.

    Dan.

    Can try again you? (re-upload)

  • Shaking photography

    I have build a slider in my website and the photo is shaken... check this site in the Middle

    http://novique3.BusinessCatalyst.com/index.html .

    Solutions? I've already resized the picture but he's still shaking :-(

    Thanks in advance!

    Frank

    Are you scroll Parallax by turning the scroll on the rectangle, or the bottom?


    Do not change the effect of scrolling of the rectangle itself, by clicking on the tab scrolling effects while the rectangle is selected.


    DO this: select the rectangle with the marker inside > box background color/image open upper-left by Shift clicking the arrow > background image, then click on "scroll" tab > change everything to 0 here.

    For me, it isn't shaking (google chrome), the shaking occurs sometimes in browsers because they use different animation types.

    When I get to a certain point, however, I see the image suddenly jumping (as I'm almost done scrolling).

    which leads me to believe you off scrollbars for the rectangle, not at bottom.

    Hope that helps!

  • Is it possible to delegate a DataGrid displaying a worker?

    Hello world

    I am currently working on a process that receives information 'real time' using sockets. This information is displayed in a spark DataGrid.

    The information received can have several formats such as:

    * Add this line on the grid.

    * Update this line of the grid

    * Remove this line from the gray.

    But the problem is that data are constantly failed to refresh the datagrid control and the enforcement frezees. So I wonder how I could put the datagrid inside a worker, in order to have a smooth application while receiving data.

    Thanks a lot for your help.

    Your case is quite unusual say the least and bordering on the absurd.

    You have 600 lines present, but they change several times per second. It sounds a bit like watching the windows process manager.

    You can read 600 lines at a time and you can't scroll through reliable either because the underlying data see you change all the time.

    What I could do is probably not only have a grid which is as great as could fit on your page. Make the underlying data source just same number of rows as shown. Scroll to your pit grid bars.

    Having a separate scroll bar for the content of the page, or use the tabs.

    Maintain your manipulations of data in an array or vector. If you have 50 rows in your datagrid, copy 50 entries in a separate table and use it as the data source for the datagrid control. Change the data in the data source table according to received updates or paging via the bar scroll/tabs.

    This should significantly reduce the load on the the screen refresh and datagrid.

    Before you integrate into your application, build a test application and test performance.

  • Global font change

    Hello

    I was wondering what is the fastest way to change the font of the text on a form in livecycle architects. I have a long form (6 pages) and I would like to change fonts in whole to another without affecting what that else.

    Thank you

    Hello

    This is one of the rare occasions where you want to go to the XML Source tab. However you can cancel your form, then I recommend to do this on a copy.

    Do slide into a new object and set its font to the one you want. In the XML Source tab you should check the string specified to the police.

    Select an object and click the XML Source scrolling tab where the font is specified the name of the font. Under Edit menu, do a search/replace with the new name of the font.

    Return to Design view (click OK) and test it.

    Hope that helps,

    Niall

    Ensure the dynamics

  • How to lock the scroll bar and several tabs to prevent them from scrolling erratically

    I have upgraded to Windows 10.
    Now the fireplace (Yes, it's the latest version) scrolls top down in erratic Web pages.
    I can't control the right scroll bar.
    Even after clicking on it or by moving up and down, either with the use of the touchpad, arrows and arrows at the top / below the scroll bar itself, it moves just everywhere anywhere on the page.
    The same thing occurs when multiple tabs are open. They scroll left and right erratically.
    Help! It's the most boring, frustrating and time consuming.
    I have already searched several forums and blogs, disabled the auto-scrolling and scrolling soft, all to nothing will do.

    On my system, the mouse pad has a mind of its own. So I opened it from the
    settings and OD "disable when mouse available.» No problem now.

  • Can I use horizontal scroll to switch between tabs?

    I find it useful to switch between tabs with the side-scrolling my mouse wheel. Can I configure Firefox in this way?

    Apparently FireGestures doesn't support scrolling directly if you can't make it work. I have no local way to test it, because nobody doesn't know I have a mouse with a horizontal scrolling. FireGestures provides alternatives (I use the tab scrolling of line), however, and supports scripts , if you want to try to use the technical information provided by cor - el.

    One avenue would be to use the mouse like Logitech Setpoint or Microsoft Intellipoint software to set the scrolling to run the FF Ctrl + PgUp and Ctrl + PgDown hotkey combo. This would negate native scroll, however.

    You can leave your comments at https://input.mozilla.org/en-GB/feedback/ if you do not want to see this feature implemented. I think you're better of trying to get an add-on to do this though, as horizontal scrolling appears to remain a characteristic very niche.

  • Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar?

    Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar? This feature in conflict with my program of multiple monitors (display fusion) since this program allows you to change your current active window the monitor 1 monitor 2 and vice versa BY clicking the header of BAR SCROLLING (or whatever you call the highest part of your window). With firefox, I can't easily change my active window between monitors because instead, it opens a new tab.

    If the window is maximized, you can then switch this pref to disable the display of the tabs in the title bar:

    • browser.tabs.drawInTitlebar = false

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • How can I stop: 1) scrolling ads/info that remains on the page, even while I scroll down to the bottom. (2) new side tabs that appear at the end of the articles to tease the next articles?

    I have two questions. In the past months, some sites there are ads or facebook/twitter links that scroll and remain on the same page that I scroll down. I find distracting moving images and want to stop them. How? I saw another development that I get close to the end of an article, two tabs appear on the left and right of the screen who tease article previous and next. These tabs appear often on the top of the text of the article I'm currently reading, making it difficult to finish the current article. How to stop these tabs?

    for 1)
    Try using an extension "ad block", as a first step.
    Click on > > AMO search for "ad block"

    I use this one - https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/

    for 2)
    You can try to use this extension - https://addons.mozilla.org/en-US/firefox/addon/umatrix/ - too complicated for me, I rarely see these stupid teases 'previous' and 'next' and my screen is wide enough so that they do not cover any text I read.

  • Homepage is fine(full Menubar) when I opened a new tab that the menu bar disappears as well as the ability to scroll disappears. all I have is the above address bar

    In the past I've always had my open pages in a new window and not in a new tab, but it is useless if I can't see the entire page because I only have the address bar, and I can minimize and expand or close the page. There is no scrolling up and down. Now, I have to go to my office and open a new window and paste the address in order to get a working page. I even went up to uninstall and delete the Mozilla in programs, redownload and install, but I have the same problem.

    You run Firefox in private browsing mode (permanent) (don't remember history)?

    You may experience 1166066 bug that occurs when you run Firefox in private browsing mode and you open links in a new window.

    Possible solutions:

    (1) use Options/Preferences > General: "Open new windows in a new tab instead"
    (2) Shift+click links to open in a new window with the standard features or use the right-click context menu.
    

    You can change dom.disable_window_open_feature prefs and change their value to true to prevent a Web site to disable toolbars and scroll bars in a pop-up window

    • bug 1166066 - regression 38 Firefox: link in the window with target = "_blank" opens a window with tabs/bars of tools/menus (bug1166066)

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • By pressing the scroll wheel of the mouse does not open link in a new tab

    Since the upgrade to Version 38.0.1, this action no longer works. I can right-click and select a link to open it in a new tab, but pressing the mouse wheel is no longer works as a shortcut.

    Please correct or advise if there is a setting that I can shape to get this feature.

    Thank you.

    It is with the middle clicking a link on a web page or is not all click workplace?

    Is required to work Ctrl and left click to open the link in a new tab?

    Have you checked the settings in the mouse driver software to click on the scroll wheel?

Maybe you are looking for

  • Why are there not on Firefox in the last update?

    I've just upgraded to the latest version of firefox. Twisted my online banking web page. Questioned by the banker what version I clicked on the Firefox (mac version) and everything he says is left. It us not about Firefox. A I get just hacked or was

  • Satellite P855 - ODD can't play BluRay discs

    Hello. I have a little problem with my blu ray player. Each CD or DVD drives works. But when I put the blu - ray disc my drive cannot find this disk. I have download the newset update for blu ray but when I install a make out message: "a later versio

  • How do I pay if I don't have the credit card for the apple's music?

    I don't have credit cards but I have debit cards and I'm not able to pay for music from apple, so is there another way to pay without using a credit card?

  • Alert 'Rate error report' Microsoft, real or phishing?

    After starting my PC this morning, a pop-up alert Microsoft told me to work, he had missed asking a report of error with a recent problem I had (I couldn't remember such an event, the program ( always ask you a report when I had a problem), and I wou

  • Lenovo G555 XP drivers

    In short, I'm looking for XP drivers for Lenovo G555 model. Unfortunately, I can't find this model listed in the list of templates supporting by Lenovo. Can someone here help and direct me to a link where I can get these drivers? Thank you K