Adding static button in a drop-down list

Hi all

I add a list to verticalFieldManager with vertical scrolling function, and in the same crib from the bottom, I need to add a button (after clicking on the button I have to go on the other screen).

Here, my problem is that whenever I scroll the list, the button does not scroll, it should look like the button on the top of the display to scroll and the list in the background. But whenever I scroll the list, list a scroll at the bottom of button.

For more information, I add a screenshot, please find the attachment.

I'd have a play with this, the thought took a little more time than I expected and there are a few "curve balls.

In any case, here's some code that can do what you want.  There's some stuff in there, but see how you get on the revision of the code and the doc and the items I gave you to, to see if you can understand what is happening.

Tested on OS 6.0 Simulator 9800, not on anything else.

package mypackage;

import java.util.Vector;

import net.rim.device.api.system.Display;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.ScrollChangeListener;
import net.rim.device.api.ui.TouchEvent;
import net.rim.device.api.ui.XYRect;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.component.ListField;
import net.rim.device.api.ui.component.ListFieldCallback;
import net.rim.device.api.ui.component.SeparatorField;
import net.rim.device.api.ui.component.Status;
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.container.VerticalFieldManager;

public class StaticButtonTestScreen extends MainScreen implements ListFieldCallback{

    private static int NUMBER_OF_ROWS_TO_ADD = 50;
    private static int NUMBER_OF_COLUMNS_TO_DISPLAY = 6;

    private Vector _listElements = new Vector();
    // We use a pretty crude method to supply the items to be displayed
    private ListField _listField;
    private int _requiredColumnWidth;

    StaticButtonTestScreen(){

        //! how wide will we make the columns?
        Font ourFont = this.getFont();
        _requiredColumnWidth = ourFont.getAdvance(" column 8 ");
        //! this example has fixed column widths.  They do not have to be.  Fixed is just simple to demonstrate.

        this.add(new LabelField("Above ListField", LabelField.FOCUSABLE));
        this.add(new SeparatorField());
        //! Add the ListField to a HorizontalFieldMaanger that can scroll horizontally.
        //! It is this that does the scrolling for us.
        StaticButtonManager myMan = new StaticButtonManager();

        //! Note the overridden methods in our ListField.
        _listField = new ListField() {
            //! OVerride layout so that you get the ListField defined the width that you want.
            protected void layout(int maxWidth, int maxHeight) {
                int requiredWidth = Math.min(maxWidth, this.getPreferredWidth());
                super.layout(requiredWidth, maxHeight);
            }
        };
        VerticalFieldManager vfm = new VerticalFieldManager(Manager.VERTICAL_SCROLLBAR | Manager.VERTICAL_SCROLL);
        // Put ListField in here so that it scrolls
        _listField.setCallback(this);
        _listField.setSize(NUMBER_OF_ROWS_TO_ADD);
        // setSearchable(true) so a key stroke will invoke indexOfList().  Try it
        _listField.setSearchable(true);
        for(int count = 0; count < NUMBER_OF_ROWS_TO_ADD; ++count) {
            String listItem = Integer.toString(count) + ".";
            _listElements.insertElementAt(listItem, count);
      }
        vfm.add(_listField);
        myMan.add(vfm);
        ButtonField bf = new SpecialButtonField("test");
        myMan.add(bf);
        this.add(myMan);
        this.add(new SeparatorField());
        this.add(new LabelField("Below ListField", LabelField.FOCUSABLE));
    }

    // Following methods are required by the ListFieldCallback interface

    public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width) {

        int columnWidth = width/NUMBER_OF_COLUMNS_TO_DISPLAY;
        //! Use the width that we have, not the width we requested.
        //! There is a chance that they might be different, though I suspect this would only
        //! be seen during development when perhaps changes have not be made consistently. 

        int xpos = 0;

        // First column test data supplied from program
        String suppliedData = (String) this.get(listField, index);
        graphics.setColor(Color.BLACK);
        graphics.drawText(suppliedData, xpos, y);
        xpos +=  columnWidth;

        // Dummy up the other columns.....
        graphics.setColor(Color.RED);
        for ( int i = 1; i < NUMBER_OF_COLUMNS_TO_DISPLAY; i++ ) {
            graphics.drawText("c" + Integer.toString(i), xpos, y);
            xpos +=  columnWidth;
        }

    }

    public Object get(ListField listField, int index) {
         return _listElements.elementAt(index);
    }

    //! In theory, the "framework" can call this, so it should return the same
    //! value as the overridden getPreferredWidth().  But my testing suggests this is
    //! is actually never called.  But for consistency, set it correctly!
    public int getPreferredWidth(ListField litfield) {
        return _requiredColumnWidth * NUMBER_OF_COLUMNS_TO_DISPLAY;
    }

    // People don't know how to use this, so I'm coding this up as an example
    // In the sample code you can use the digits to find things...
    public int indexOfList(ListField listField, String prefix, int start) {
        // Search from where we currently are forward.
        for ( int i = start; i < _listElements.size(); i++ ) {
            String element = (String) this.get(listField, i);
            if ( element != null && prefix != null ) {
                // Just being careful
                if ( element.startsWith(prefix) ) {
                    return i;
                }
            }
        }
        // Not found, search from beginning to where we are currently
        for ( int i = 0; i < start; i++ ) {
            String element = (String) this.get(listField, i);
            if ( element != null && prefix != null ) {
                // Just being careful
                if ( element.startsWith(prefix) ) {
                    return i;
                }
            }
        }
        // Didn't find it, don't move....
        return start;
    }

// Special Manager so that we can overlay the Fields
// and because the standard optimised paint does not
// cope with this, we need to invalidate() the Field on scroll to get
// it repainted.

// We also have a bit of work around

class StaticButtonManager extends Manager implements ScrollChangeListener {
    // Implement ScrollChangeListener so tha on a scroll, we repaint
    // because the default action is optimised and does not cope
    // with the overlaid Fields.
    boolean scrollListenerSet = false;
    SpecialButtonField bf = null;
    XYRect ourExtent = new XYRect();
    public StaticButtonManager() {
        super(Manager.NO_VERTICAL_SCROLL | Manager.USE_ALL_HEIGHT);
    }
    // Override paintBackground just so we can see the extent of this Manager
    // Not necessary, just done to make it easier to see.
    public void paintBackground(Graphics g) {
        int currentBackgroundColor = g.getBackgroundColor();
        try {
            g.setBackgroundColor(0X00CCCCCC);
            g.clear();
        } finally {
            g.setBackgroundColor(currentBackgroundColor);
        }
    }
    // Only expect two Fields
    // 1) A VFM which will scroll to handle the ListField
    // 2) A button that we will stuck at the bottom right
    protected void sublayout(int maxWidth, int maxHeight) {
        maxHeight = Display.getHeight()/2;
        // Set the Height that the ListField will use when scrolling.
        if ( this.getFieldCount() != 2 ) {
            throw new RuntimeException("Incorrect number of Fields added");
        }
        VerticalFieldManager listFieldManager = (VerticalFieldManager) this.getField(0);
        if ( !scrollListenerSet ) {
            scrollListenerSet = true;
            listFieldManager.setScrollListener(this);
        }
        super.layoutChild(listFieldManager, maxWidth, maxHeight);
        super.setPositionChild(listFieldManager, 0, 0);
        if ( listFieldManager.getHeight() < maxHeight ) {
            maxHeight = listFieldManager.getHeight();
        }
        bf = (SpecialButtonField) this.getField(1);
        super.layoutChild(bf, maxWidth, maxHeight);
        super.setPositionChild(bf, maxWidth - bf.getWidth(), maxHeight - bf.getHeight());
        setExtent(maxWidth, maxHeight);

    }
    public void scrollChanged(Manager manager, int newHorizontalScroll, int newVerticalScroll) {
        this.invalidate(); // repaint everything....
    }
    /*
     * Might be needed, comment out code just in case
    public int getFieldAtLocation(int x, int y) {
        if ( x >= this.getWidth() - bf.getWidth() &&
             y >= this.getHeight() - bf.getHeight() ) {
            return 1;
        }
        return super.getFieldAtLocation(x, y);
    }
    */
    // Just used to allow the user to use the trackpad to go horizontally and select the button.
    // Not really needed
    protected boolean navigationMovement(int dx, int dy, int status, int time) {
        boolean buttonInFocus = bf.isFocus();
        if ( dx > 0 && !buttonInFocus ) {
            bf.setFocus();
            return true;
        } else
        if ( dx < 0 && buttonInFocus ) {
            this.getField(0).setFocus();
            return true;
        }
        return super.navigationMovement(dx, dy, status, time);
    }
    // Because the Button keeps moving in relation t the manager
    // and the manager does not expect this,
    // We have to check the touch location ourselves
    protected boolean touchEvent(TouchEvent message) {
        int x = message.getX( 1 );
        int y = message.getY( 1 );
        getExtent(ourExtent);
        if( x < 0 || y < 0 || x > ourExtent.width || y > ourExtent.height ) {
                // Outside the field
                return false;
        }
        if ( x >= ourExtent.width - bf.getWidth() &&
             y >= ourExtent.height - bf.getHeight() ) {
            bf.onClick();
            return true;
        }
        return false;
    }
}
// Special Button so that the Button can be clicked from the
// Manager's touchEvent
class SpecialButtonField extends ButtonField {
    public SpecialButtonField(String label) {
        super(label);
    }
    protected boolean navigationClick( int status, int time ) {
        onClick();
        return true;
    }
    public void onClick() {
        Status.show("Clicked: " + Integer.toString(_listField.getSelectedIndex()));
    }

}

}

Tags: BlackBerry Developers

Similar Questions

  • The rear button is a drop-down list of previous pages visited in this tab: or is this accessible otherwise?

    What is says it all, really. I just installed Firefox 4 and noticed a significant (to me) reduction in utility: in the version previous, back button used to have a down arrow that showed the previous pages visited in a particlular tab and allowed you to go back several pages in a go, if you want (for example, when you browse through a series of sites to buy something or other). Firefox 4 has this facility, which I personally found very useful from time to time.

    It is available in other ways? If this is not the case, maybe I should go back to the previous version, which suited me better, in this respect at least.

    There are two options to access history: (1) click and hold the back button, (2) right click on the back button.

  • Button Drop Down List Style

    I use Adobe Captivate 8 and I don't see an option to style the button for a drop-down list.  I see that I can change the color of the font but not:

    • the color button (which is now a dark gray)
    • the size of the font (which seems to want to stay to 14.0)
    • the background colors for the menu drop-down (currently some blue and white for unselected options)

    I looked in the topic Manage settings of objects, but can't see all the options for the style of the widget.

    Can someone please confirm if the style is possible or not, thank you.

    As Rod replied CO terminology can be very confusing. I know as well

    that the interactions of the so-called are widgets, assured to be HTM L5

    compatible against the old widget. Extension can be the same, but angry

    they are in different folders. Interactions are both in a Gallery folder

    and a copy in the users folder, where updates are as followed. Widgets

    are only in a subfolder to the gallery.

  • List drop-down list of reading value

    Hello

    I have a button and a drop-down list in the next row under drop downgrade, at the click of the button, I want to display value based on the drop-down list. Is there a way to read/extract value from list as and when the user click on it. I don't want to leave the screen, but offers more functionality for the user. It is not enough for me:http://docs.blackberry.com/en/developers/deliverables/17971/Create_a_drop-down_list_509565_11.jsp

    This article suggests ObjectChoiceField for a drop-down list, which already has what you are looking for:

    getSelectedIndex() and getChoice (int index). To seize the moment of choice being made, use FieldChangeListener.

  • Help with my drop-down list in the fluid grid view

    Print-screen-mobile-LO-070615.jpgPrint-screen-tablet-LO-070615.jpgPrint-screen-desktop--LO-070615.jpg

    I built the site of "fluid" and that's great, up and running and I am delighted!  A big thank you to the DW forum. URL is: tyndall.net.au

    Now, I want to add a drop-down in the three 3 sizes: mobile, Tablet and desktop. And I want it to develop the ' Services ' section. On the 'Services' page there are links to 21 different types of services.

    It is these types of different services, have to be displayed in the drop-down list button.

    Objective: in hover mode, the fall down to look identical to the head key, centered with a complete history! To inherit.

    You can see on the screenshots:

    In Mobile, there is a complete history, but it is not centered and not the same size

    Tablet & Desktop - background not complete, not centered, not the same size

    I can't find a tutorial on this issue. Tutorial of Daniel Walter - Scott in BYOL helped a long way, thanks mate.

    Can someone help me with this problem?

    Concerning

    Jonathan

    Byron Bay, Australia

    __________________________________________________________________

    Reach:

    Here is the HTML code for the nav div:

    < nav id = 'mainNav' class = "fluid" > < ul id = "menuSystem" class = "fluid fluidList" > "" ""

    < li = class "menuItem fluid zeroMargin_tablet zeroMargin_desktop" > < a href = "/ index.html" > home < /a > < /li >

    "< class li ="fluid menuItem"> < a href="/About/about.html "> on < /a > < /li >

    "< class li ="fluid menuItem"> < a href="/Services/services.html "> Services < /a >

    < ul >

    < class li = "fluid menuItem" > < a href="/Services/otherpage.html" > Immigration < /a > < /li > ".

    < class li = "fluid menuItem" > < a href="/Services/otherpage2.html" > Banking < /a > < /li > ".

    < class li = "fluid menuItem" > < a href="/Services/otherpage3.html" > bankruptcy < /a > < /li > ".

    < /ul >

    < /li >

    < class li = "fluid menuItem" > < a href="/Articles/publication.html" > items < /a > < /li > ".

    < class li = "fluid menuItem" > < a href="/Migrate/migrate.html" > migrate < /a > < /li > ".

    "< class li ="fluid menuItem"> < a href="/Journal/journal.html "> Blog < /a > < /li >

    < class li = "fluid menuItem" > < a href="/Contact/contact.html" > Contact < /a > < /li > < /ul > < / nav >.

    < / header >

    Here are all the css in style.css code:

    @charset "utf-8";
    / * Simple fluids
    Note: Fluid requires that you remove the attributes height and width of the media of the HTML
    http://www.alistapart.com/articles/fluid-images/
    */
    IMG, object, embed, {video
    Max-width: 100%;
    }

    / * IE 6 doesn't support max-width so 100% width by default * /.
    . IE6 img {}
    Width: 100%;
    }

    /*
    Properties Grid Dreamweaver fluid
    ----------------------------------
    DW-num-CLO-mobile: 4;
    DW-num-CLO-Tablet: 7;
    DW-num-OCOL-Office: 14;
    DW-gutter-percentage: 25;

    Inspiration of "Responsive Web Design" by Ethan Marcotte
    http://www.alistapart.com/articles/responsive-web-design

    Golden by Joni Korpi grid system and
    http://goldengridsystem.com/
    */

    {.fluid}
    Clear: both;
    left margin: 0;
    Width: 100%;
    float: left;
    display: block;
    }

    {.fluidList}
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
    }

    / * Mobile layout: 480px and below. */

    {.gridContainer}
    left margin: auto;
    margin-right: auto;
    Width: 86,45%;
    padding-left: 2,275%;
    padding-right: 2,275%;
    Clear: none;
    float: none;
    font size: small;
    }
    #top {}
    }
    #top img {}
    left margin: auto;
    margin-right: auto;
    display: block;
    }
    {#mainNav}
    }
    {#menuSystem}
    list-style-type: none;
    }
    .menuItem {}
    top of the margin: 2px;
    margin-bottom: 2px;
    padding-top: 1px;
    padding-bottom: 1pk;
    text-align: center;
    color: #FFFFFF;
    background-color: #051383;
    border-radius: 5px;
    Width: 100%;
    left margin: 0;
    Clear: both;
    }
    {.photois}
    }
    body p {}
    do-family: Arial;
    }
    {.jonofigcaption}
    make-style: italic;
    Police-family: Garamond;
    font size: small;
    text-align: left;
    }
    body figcaption p {}
    }
    {motto}
    Police-family: Garamond;
    font size: large;
    make-style: italic;
    text-align: left;
    }
    .Text1 {}
    }
    . Header {}
    do-family: Tahoma;
    font-size: medium;
    }
    {.jonotext}
    do-family: Arial;
    text-align: justify;
    }
    .Text2 {}
    do-family: Arial;
    text-align: left;
    }
    {.footer1}
    text-align: right;
    do-family: Arial;
    do-size: x-small;
    }
    {.footer2}
    text-align: right;
    Police-family: Garamond;
    do-size: x-small;
    }
    {.footer3}
    text-align: right;
    do-family: Arial;
    Police-weight: 900;
    make-style: italic;
    }
    . gridContainer.clearfix. fluid.footer2 p img {}
    }
    {#jonominibutton}
    left margin: 1px;
    right margin: 1px;
    padding-left: 1px;
    padding-right: 1px;
    }
    #mainNav a {}
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    }
    #mainNav a: hover, #mainNav a: active, #mainNav one: {emphasis
    background-color: #A3C3FF;
    text-decoration: none;
    color: #051383;
    }

    . gridContainer.clearfix #top img {}
    padding-bottom: 5px;
    padding-top: 5px;
    }
    UL {}
    list-style-type: none;
    }
    {body
    }
    a: link {}

    }
    {.footer4}
    do-family: Arial;
    font size: small;

    }
    . gridContainer.clearfix. fluid.footer2 p an img {}
    }
    {.officearea}
    }
    .officearea img {}
    vertical-align: bottom;
    }
    {.jonofooter4}
    do-family: Arial;
    do-size: x-small;
    text-align: left;
    }
    .jonothumb img {}
    vertical-align: baseline;
    }
    {.footer7}
    do-family: Arial;
    Police-weight: 900;
    make-style: italic;
    font size: small;
    }
    {.zeroMargin_mobile}
    left margin: 0;
    }
    {.hide_mobile}
    display: none;
    }
    #mainNav ul ul {}
    display: none;
    position: absolute;
    }
    #mainNav li: hover ul > ul {}
    display: block;
    }
    #mainNav ul ul li {}
    float: none;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;


    background-position: center
    %;
    }

    #mainNav a: hover, a: active {}
    }

    / * Tablet Layout: 481px to 768px. Inherits the styles of: Mobile layout. */

    @media only screen and (min-width: 481px) {}

    {.gridContainer}
    Width: 90.3428%;
    padding-left: 1.3285;
    padding-right: 1.3285;
    Clear: none;
    float: none;
    left margin: auto;
    }
    #top {}
    }
    {#mainNav}
    }
    {#menuSystem}
    }
    .menuItem {}
    Width: 11.7647%;
    Clear: none;
    margin left: 2.9411%;
    }
    {.photois}
    }
    .Text1 {}
    }
    .Text2 {}
    }
    {.footer1}
    }
    {.footer2}
    }
    {.footer3}
    }
    {.footer4}
    }
    {.officearea}
    }
    {.footer7}
    }
    {.hide_tablet}
    display: none;
    }
    {.zeroMargin_tablet}
    left margin: 0;
    }
    }

    / * Office Layout: 769px to a maximum of 1232px.  Inherits the styles of: Mobile and tablet. */

    @media only screen and (min-width: 769px) {}

    {.gridContainer}
    Width: 88.7142%;
    Max-width: 1232px;
    padding-left: 0,6428%;
    padding-right: 0,6428%;
    margin: auto;
    Clear: none;
    float: none;
    left margin: auto;
    }
    #top {}
    }
    {#mainNav}
    }
    {#menuSystem}
    }
    .menuItem {}
    Width: 13.0434%;
    Clear: none;
    margin left: 1.4492%;
    }
    {.photois}
    }
    .Text1 {}
    }
    .Text2 {}
    text-align: left;
    }
    {.footer1}
    }
    {.footer2}
    }
    {.footer3}
    }
    {.footer4}
    }
    {.officearea}
    }
    {.jonoboldarial}
    Police-weight: 900;
    do-family: Arial;
    make-style: italic;
    }
    {.footer7}
    }
    {.zeroMargin_desktop}
    left margin: 0;
    }
    {.hide_desktop}
    display: none;
    }

    }

    It's these types of different services, I should show up in the drop-down buttons. >

    Drop-down lists that appear to move the mouse do not work on touchscreens because they do not have a mouse.  The current trend is to keep the navigation simple & simplified.  21 links dropdown under Services is going to be too expensive for mobile users.   Just keep the simple navigation with a link to the Services page you did and your users will have fewer problems with your site.

    Either way, justified text links seem strange.  See screenshot.   You can see that.

    Finally and most importantly, provide enough space between links to help mobile users.  Android recommended that links be 10mm high providing for easier faucet finger gestures.  When the links are stacked too close together, which makes it very difficult selecting the link desired without the aid of a stylus.

    Nancy O.

  • Criterion from the drop-down list value null | " "

    I wrote a script to sign before testing a value in a drop-down list before allowing the signing of the document. However, I want to test a null plus a space aka "". "" I added a value in the drop-down list of "" as well as the choice of names for users could erase an accidental in this list selection before they were ready. However when I place the operator (|) in the case or statement of the script, the script does not work. If I remove the | "" declaration the script works as it is supposed to. " How to test for this value of "" as well as the test null so I don't have to write a further statement?

    If (form1. Page3.author.reviewed.admin.RawValue == null | " ")

    {

    xfa.event.cancelAction = 1

    xfa.host.messageBox ("you have not selected your name on the drop-down list before trying to sign the document.");

    }

    on the other

    {}

    ;

    If the declaration is incomplete. You need to test again for the other value:

    If (form1. Page3.author.reviewed.admin.RawValue == null | Form1. Page3.author.reviewed.admin.RawValue == "") ""

  • Tabs aren't appearing online with the Firefox drop-down list button.

    Here is a screenshot of the problem: http://i.imgur.com/y2binxI.png

    The tab bar is not the tail with the drop-down list button, and nothing I've tried yet fixed.

    Things I've tried:

    - Un-maximising and re-maximising the window (this has worked in the past when I have this problem, but not this time)
    - Moving things around in the Customize screen to see if something got moved out of place
    - Restarting with add-ons disabled
    - Checking for any toolbars to hide/unhide
    

    I have not yet tried to do a full uninstall/reinstall again because, well, that would be a little pain.

    Any suggestions?

    You run Firefox with an enlarged screen?

    You can set the Boolean pref browser.tabs.drawInTitlebar true on the topic: config page to see if that helps.

  • Why, when I type in the address bar and select from the drop-down list, I seem to "click on" on one of the toolbar buttons?

    I noticed recently that, sometimes, when I chose an entry in the drop-down list after I started typing in the address bar, I would get a different page than I wanted to. It turned out that I was actually clicking the bookmarks toolbar button that has been hidden under the list entry, I thought I was clicking.

    Hi, thanks, but disabling hardware acceleration does not fix it. However, I just swapped my mouse, and seems not to happen anymore!

  • How can I disable the menu drop-down list on the back button?

    I use a laptop and my hands are not too clever. Whenever I click on the 'back' button, I get the drop-down list, which means that I must then back up my hand to the pad (gently!) to move the pointer, and then try again. It may take me several attempts to turn back a site now!

    I searched for hours how activate the drop-down list, nothing is done and even looked through all the settings in: config to try to find a way around it. Seriously impact my ability to use my laptop on the web now, so if someone can you please come up with a way to return to the old back button, with no menu when my finger slow old cannot move pretty fast down the key, I would be very grateful.

    There are two other ways to return to a page.

    • Right click on a box empty page you visit and use the dos command
    • From the keyboard, press {Alt + left arrow}
  • Where is the past, bookmark button that displays all THE bookmarks as a drop-down list?

    I had to reinstall my OS, and now I don't see the big 'Favorites' button, I got to the right of the search box Google with Firefox.
    It is with the value 'Icons' of icons.
    I use to be able to click on "Favorites" and they appear in a drop-down list, like 'latest news' power works.
    I can click the Favorites (with the star on this subject), who comes here to open a sidebar - not a menu drop-down which disappears when I clicked it.

    I loaded Windows 7 and took some quick screenshots for you:
    http://tinyurl.com/3c7ouvs

    Also note that it only shows the bookmarks menu button if you use the Firefox menu button and not the classic menu bar, because it would be quite redundant to have a button and the bookmarks at the top menu which does exactly the same thing.

    Look at what you have in the toolbar and what is in the window customize (you may need to scroll down). If you have one in the toolbar then the other is probably in the window customize somewhere. If you have a lot of addons installed there may be many buttons to look through.

    If you have problems you can just click on the 'Restore Default Set' button in the Customize dialog box to restore the default values that will also involve of the bookmarks that you want to switch all your toolbars. If you had any other customizations to your toolbars and then change them back again.

  • Why the back button isn't a drop-down list to go back multiple levels in Firefox 4? Y at - it an option to reactivate the which?

    Before that I've upgraded to Firefox 4, the back button (as it is in all other browsers under the Sun,) had a drop-down list so you could spend a layer of back up and fall back on several levels. This is particularly important when there is a site you redirecting and you cannot go back only to back single click. However, FF4 is not-at least not by default - and I do not see anywhere in the options to add. Is he hiding somewhere I didn't, or that has been deleted?

    You need to click on and hold the back button or do a right click to access the menu drop down.

  • What happened to the drop-down list of the previous pages on the back button? I see it in 'history', but it is slower to get to.

    There used to be a drop-down list on the back button, and I think that the forward stop button, too, so that I could jump to the previous page without paging a descendant both. Find my story now and clicking on a page are much slower.

    Use one of them to open the tab history list:

    • Right-click on the back or next button
    • Press and hold the left button of the mouse on the active back or forward button until the list opens

    You can watch this extension:

  • Impossible to delete previously selected items from the drop-down lists at the click of the button Reset on a page of the screen.

    Hello

    I'm unable to clear previously selected items from the drop-down lists at the click of the button Reset on a page of the screen. The code I did to clear the previous value when the click on the button Reset is as below.

    {} public void onReinitialize (ActionEvent actionEvent)

    System.out.println ("onReinitialize is called ::");

    UIComponent uiComp = actionEvent.getComponent ();

    If (uiComp is nothing)

    {

    otherwise we use the button that we linked to that bean

    uiComp = getButtonResetByBean ();

    _logger.info ("reset fields: buttonID =" + uiComp.getId ());

    }

    on the other

    {

    _logger.info ("reset fields: CompID =" + uiComp.getId ());

    }

    Pass the component inside the uniforms, UIXForm, UIXSubform, UIXRegion, UIXPopup, RichCarousel

    or RichPanelCollection that contains the components to reset

    getTextIDLOV () .setValue (null);

    ResetUtils.reset (uiComp);

    }

    ---

    Using this code Iam able to clear the entrance to the text box but can not clear previously selected items from the drop-down lists when the reset button is clicked

    Can anyone please help on this issue.

    It's simple, you can set GenerateIsNullClauseForBindVars = "false" in the viewCriteria who created in EmployeeView

    After doing that it will fill the list of employees only after the Department selection

    Again check the enclosed application

    Ashish

  • Help adding textfield with drop-down list selects

    I have a PDF with a drop-down list field called "SoftwareList" with a default value of "Select the software" and a text field called 'SelectedSoftware '. You can freely type in the text field to communicate your needs, or choose the menu drop-down. I want to add in the text field, which is selected in the drop-down list each time. I had the following script to fix this as a custom text field calculation script:

    If (this.getField("SoftwareList").value! = "Select software")

    {

    this.getField("SelectedSoftware").value += this.getField("SoftwareList").value + «»

    }

    The problem I have is that it will continue to add to the text box with everything that was selected last in the drop-down list when you click on other fields in the form, such as check boxes. I tried this put on different actions both at the key sequence in the Properties tab of format, but did not work there. I added the following line, which helped, but it is still a click of the addition until it changes, duplicate the last pick:

    this.getField("SoftwareList").value = "select the software."

    Appreciate help with this.

    I would like to use the script validation custom from the drop-down list. You can use something like this:

    If (event.value! = 'Select Software') this.getField("SelectedSoftware").value += event.value + ",";

    To ensure that the update as soon as a selection is made to check the option to validate the selected value immediately under properties of the menu drop down, tab Options.

  • Data from the field drop-down list does not clear when the reset button is activated

    Acrobat Pro XI

    All field boxes are checked in the tab properties of the button actions... but when I click on the reset button of the form I created only the data in clear text fields, not any of the data that has been selected in a drop-down list.  What I am doing wrong?

    The 'rest shape' command returns the fields to their default values. If this

    value is not empty, that's what he'll be back.

Maybe you are looking for