Bimap field + EditField click problem

Hello

In my application, I am increasing and decreasing value in an editfield using two buttonfields, everything works fine, but if I click on the changed value in the editifeld picture but menu "Application report" come again by pressing ESC and then only I am able to click on the image.

Even if I click editfield also 'switch' application menu pop up appears please check the picture of the call and inform me how to limit this menu in the click bimap and editfield

Note: earlier in the popup 'application Switch, close' options appear in the context menu, but after using the below only switch application code comes

protected void makeMenu (menu Menu, for example int)
{
menu.deleteAll ();
}

If you return false, you indicate that you have not consumed the event (and a few other layer will be, so the menu).
return true instead.

Tags: BlackBerry Developers

Similar Questions

  • Custom field highlighting the problem

    Hello

    I have a custom field class that extends the field.  the custom class allows me to put a photo inside the field.  The problem I have is when I give him a click event, it accentuates not.

    I overrided onUnfocus() drawFocus() onFocus() and object;

    I tried to use super.drawFocus () inside the drawFocus(), tried to use drawHighlightRegion with HIGHLIGHT_SELECT and HIGHLIGHT_FOCUS but no luck.

    Anyone know what I need to do to give hightlight when the user touches the screen, or click?

    OK, so as I said in the previous post, you can paint the blue highlight, but your bitmap image will then paint over clear tones.

    So that the nail is visible, you must set a fill around the bitmap. In other works, the measurement of field must be slightly larger than the size of the bitmap.

    You the best solution would have been to extend BitmapField (rather than field) and use the setSpace() method to set some padding.

    Otherwise, you will need to adjust the measurement of field in your replacement of subLayout().

  • Is there a a way to view again the description field by clicking on the gold star near the url (useful for typing memos on this site)?

    In previous versions of Firefox, when you click on the star next to the url, you can add this site to your Favorites. Another click and you can edit some fields on this bookmark, URL, file, etc...

    But with FF17, the Description field is gone. You can only find when you manage your bookmarks, which is really easy to use.

    Is it possible to add again the description field by clicking on the gold star? It is very useful to add notes about this Web site, and it's also resynchronize it with addins like Xmarks

    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 */
    
    #editBMPanel_descriptionRow { visibility: visible !important; }
    
  • Weird field browser click on blackBerry

    I'm using 4.7.0.75 OS, device of storm.

    I use Browser.Field to display html content.

    I tried applyling css around a href and the element behaves strangely

    (1) I need to click on the top of the element to ensure that the user has clicked.

    (2) JavaScript does not recognize the key event. (this has been discussed in another post).

    (2) if I click on any other place instead of the upper part of the element, its recognition of the key event

    but the event doesn't have much info, so I am unable to determine the ahref close the click...

    |---------------------------------------|

    | Click work |

    |  ahref                              |

    | ___click don't work__ |

    In the regions where click not work... that he is treated as a key event.

    Any thoughts on the events of click/touch of treatment to treat links to ahref near click/touch

    is greatly appreciated.

    Sorry guys... There was a problem of CSS... Its solved now.

  • After sprite zooming, focus is stuck on the last field of click

    Hi all

    I encountered a very weird problem,

    I had a sprite with zoom, mouse down, mouse move, and mouse event listeners. I mostly try to zoom to the sprite and can move on the sprite.

    After the zoom of the sprite, if I do not click on any field, fine; However, if I click on any fields such as label, textbox, etc.. Looks like this field clings to my finger, anywhere, I click on the screen, the field always moved to this new point of click. And the script will be nervous receive mouse event. All of these fields had no mouse to the top, bottom, move the handler set up.

    Any thoughts?

    Thank you

    Found work around it.

    The reason for high level sprite has not received mouse event because there's a scrollpane on the leprechaun and somehow, it's eat this mouse event.

    Work is about: Add a mouse until the listener of events on the scroll pane and send back the sprite event directly.

  • RichText field active hyperlink problem

    Hello

    I write a URL in the current RichText field. After you click that, it's hitting the server and back to my application. But after his return also it displays the element menu to open the link. I've implemented the navigation click. How can I remove the menu items or the pop-up windows by clicking.

    Here is my code:

           mCrtHyperlink = new ActiveRichTextField("url")
            {
                int color = Color.BLUE;
                protected void onFocus(int direction) {
                    color = Color.GREEN;
                    invalidate();
                }
    
                protected void onUnfocus() {
                    color = Color.BLUE;
                    invalidate();
                }
    
                protected void paint(net.rim.device.api.ui.Graphics g) {
                    g.setColor(color);
                    super.paint(g);
                }
    
                protected boolean navigationClick(int status, int time) {
                    // TODO Auto-generated method stub
    
                    Browser.getDefaultSession().displayPage("http://otp.arcot.com");
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
    
                        public void run() {
                            // TODO Auto-generated method stub
                            Logger.out("ProvisionForm", "Before Perform Action");
                            performOkAction();
                        }
                    });
                    return super.navigationClick(status, time);
                }
            };
    

    Help me in this matter...

    Not tested, but according to the documentation, you should return true since a navigationClick if you manage the method.  You do, instead of

    Return super.navigationClick (status, time);

    I suggest you just the code

    Returns true;

    In my view, that can solve your problem.

  • Endangered form data. Toggling the fields matches indicates problem.

    Fill out a form and go to print, but my impression is different and missing data.

    Screen shot 2012-08-24 at 3.18.41 PM.png

    I click on highlight fields and shows me this as my printed copy as look (with missing fields).

    Screen shot 2012-08-24 at 3.18.47 PM.png

    When printing, the parade of overview of missing data in the fields for most options, excpet the 'form fields only' looks like this.

    Screen shot 2012-08-24 at 3.20.39 PM.png

    I use times overview of apple and Adobe Acrobat 8 Pro (it is what they have in this work).  I tried to register as to fix the problem. Help what is if I go into each area and add a space at the end, they can print, but I don't not want to do every time that this and want to understand more of what is happening and what to highlight fields is for.

    Well known problem caused by Apple Preview. You must use Acrobat and Script for fix Mac OSX Preview.app form fill and save to correct a form corrupted by Apple Preview.

  • Form field Safari, Firefox problem

    Hello

    Someone has problems with the mouse by clicking form fields, if you use Firefox or Safari? The three fields are accessible via the click of a mouse when you use IE, however if I use Firefox or Safari the 'email' field will not allow access via mouse click, only the tab button. Thanks for your help!

    http://DL.wrgracemedia.NET/login_email_NOTEMPLATE2.php

    .oO (gmedia3)

    > Does anyone have problems with the mouse by clicking form fields when you use Firefox or
    > Safari? The three fields are accessible via the click of a mouse when you use IE,
    > However if not I use Firefox or Safari the 'email' field allows access through the
    > click, only the tab button. Thanks for your help!
    >
    > http://dl.wrgracemedia.net/login_email_NOTEMPLATE2.php

    Change this:

    to do this:


    A label control on a form.

    And remove the label of the button send - it makes no sense.

    Micha

  • TouchPad clicking problem & gestures

    Hello

    I hope some of you kind people could help me. I got my Lenovo Z580 i5 for about 2 days. IM struggling to get along with her.

    There was no introduction or a tutorial on how to use the new windows 8 and gestures.

    My main problem was using the touchpad. I have messed with the settings, but have done very little effect. I can't enter with the tactile click System, as I have always been used to click the left or right under the touchpad on laptops.

    There is no clickable button on this version. Well, if there are, they seem to be unresponsive. When I try to double-click on the icon button the mouse gets stuck to the top or moves on the page instead of click

    Is there a way to make the buttons below the touchpad, clickable as a traditional notebook? I'm missing something as at the moment the only way I can click is by double tapping the device.

    This causes problems for me when using programs ect Web design.

    I hope someone here can help?

    See you soon

    Thanks for the help, have learned a few more things to youtube. Adjust the settings and now his work.

    Although I can't find a comprehensive guide to all the operations of touchpad. As now, I learned that right click is two fingers and left a.

    Is there a method to select / highlight using the touchpad?

  • HP 15-P052TX: eBay Image is not enlarge if clicked, problem caused by expansion of HP

    Hello

    I am trying to record an image products that I buy on ebay. But when I click on the image, it is not enlarge the way he usually does (it zooms fine however), instead, it goes to the view of the gallery as usual, but in a very small way (at the bottom of the browser).



    I don't know that HP extension is originally the question because the Chrome support forum gave me a few tips, so I came to a point where I had to remove all extensions, so I installed just the HP extension and tried to save the image and again the problem occurred. But when I uninstalled the extension of the ebay image, load and save normally.

    Help, please.
    E-mail: edited by e-mail [Moderator]
    Thank you

    chathuO2 wrote:

    The problem is whenever I reinstall the plugin. Any ideas?

    Thank you

    You must then contact HP support and ask them what this will require more help HP themsleves tech.

  • Double clicking problem

    Good then really work none of my icons on my desktop right now. When I double click on it, instead of directing I [the internet or microsoft word] or whatever I click on, a "run as" appears.  The only way to use the programs must do right-click on it and choose "Run as Administrator". Yesterday, my display settings I screwed up (it happens sometimes). Usually, it's an easy fix by going into the properties, click display settings.  However, when I click on display settings, run as box appears.  In the Properties window, however, you can't right click on anything... so I can not change the display settings.  How can I fix the problem of not being able to double-click my icons and get rid of which run as box popping up every time?

    I did... my display settings are back to normal, but my icons are still not working.  I actually made a mistake if she is not a "run as" box that appears, he says: 'Open with' I'm sorry, I don't know if that makes a difference.  Oh and another thing that happened when the icons has stopped working - I had a sidebar with a clock and the time. The sidebar is over now.

    Ok. This new 2 problems...

    RE: Open with box appears whenever you click on an icon...
    Open this link below, go to the answer given by Phantom 010
    http://forums.techguy.org/Windows-Vista/899995-solved-Open-box-opens-every.html

    RE: Sidebar gone
    Start button > Search box, type sidebar > see Windows Sidebar ?  If so, click it. > you should see a + sign upward at the top right of your screen. Until it clicks. (I do not use framed, then, I might miss a step or 2)

    t-4-2

  • Development/unfocus field custom button problem

    Hi all

    I have something weird happens.  I have a custom button field that swaps the images based on a focused state or blur.  I have been using this field custom for awhile now, and I have never had any problems.  Imagine the following provision:

    ______________    ________________________

    | Custom button |    | BasicEditField |

    ------------------------    ------------------------------------------

    When my screen is launched, the focus is on the custom button.  If I move the trackball in a downward movement, the focus is taken the custom button, and its background image changes adequately to what has been defined in the untargeted State.  The BasicEditField then has the focus.  This is the correct behavior.

    If, however, I move the trackball in a movement to the right to the BasicEditField, then the BasicEditField will indeed get the focus, however the custom button field always displays its "highlight" picture  Using print statements, I was able to determine that when I move in a movement to the right with the trackball, the custom field button loses the focus and then gets the focus back to back, that's why it shows the highlighted image.

    Additional info:  This isn't an issue on touch devices, and custom button Manager is a TableLayoutManager.

    Any ideas why this might be happening?  Here's the code to my custom button field:

    public class BitmapButtonField extends Field {
        private String text = "";
        private Bitmap bitmap;
        private Bitmap bitmapHighlight;
        private Bitmap b;
        private boolean highlighted;
    
        public BitmapButtonField(String image, String imageHighlight, long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        public BitmapButtonField(String text, String image, String imageHighlight,
                long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.text = text;
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        public int getPreferredHeight() {
            return bitmap.getHeight();
        }
    
        public int getPreferredWidth() {
            return bitmap.getWidth();
        }
    
        protected void layout(int width, int height) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            b = bitmapHighlight;
            invalidate();
            System.out.println("FOCUSED");
    
        }
    
        protected void onUnfocus() {
            b = bitmap;
            invalidate();
            System.out.println("UNFOCUSED");
        }
    
        protected void paint(Graphics graphics) {
    
            int topTextPadding = (b.getHeight() - getFont().getHeight()) / 2;
            int sideTextPadding = (b.getWidth() - getFont().getAdvance(text)) / 2;
    
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), b, 0, 0);
            graphics.setColor(Color.WHITE);
            if (text.length() > 0) {
                graphics.drawText(text, sideTextPadding, topTextPadding,
                        Graphics.ELLIPSIS, b.getWidth());
            }
        }
    }
    

    Have you looked at navigationMovement in the TableLayoutManager?  I confess that I rewrote it because it handles no left and right as I wanted.  Perhaps, you might be able to do the same thing.

  • Premiere Pro right click problem

    Hello

    I have a problem with my right click on Premiere Pro, that I can't use it on a particular project. Indeed, when I work on other projects, the right click works perfectly, but when I come back to the project in question previously, right-click stops working.

    I checked my settings (that I never likely from one project to another,) and I didn't find anything suspicious.

    Do you have a solution pour it?

    Thank you

    Do new project and import the old one in the new.

  • VMWare mouse click problem

    We currently have a problem that has been experimented on VMWare Workstation 7 and VMWare Player 3.1.6 build-744570 and VMWare Workstation 7.1.6 build-744570.


    The problem causes mouse clicks are ignored in the guest OS and seems to occur after a sound is played within the guest OS.  The problem can be reproduced by opening Windows Explorer and navigate through the folders by double clicking on the file.  After opening a file and then try to open another folder or by selecting a file in the folder, some other mouse clicks are ignored for a period of time (about 3-5 seconds).  The same thing occurs if a Windows application displays an error message.  The only solution we have found so far is to disconnect the sound between the host and the guest operating system: VMWare menu > Removable Devices > Audio > Disconnect.


    The problem was first lived after an upgrade to laptop for the host operating system (upgrade from Windows 7 to Windows 8.1) and a new model of Lenovo Thinkpad.  This problem occurs in virtual machines that we work very well with old laptops using the same versions of VMWare.  We are speculating that the question must relate to 8.1 of Windows or the audio driver in the host operating system (or a combination).


    The driver in the host operating system is:
    Realtek High Definition Audio
    Driver date: 18/02/2014
    Driver version: 6.0.1.7179


    Used laptop is Lenovo Thinkpad W540 (although this has been seen with other versions of laptop computer Lenovo)


    The host operating system version is: 8.1 64-bit Windows.

    Everyone knows these symptoms?

    Hello srdev78:

    I had this same problem where the mouse click in the guest operating system stopped

    work immediately the sound card on the host system began to read any audio

    from any source (iTunes, etc.).

    So, for example, everything in the OS, including the clicks of mouse, guest should work

    as planned until the moment wherever I would start playing audio of my host system, i.e. to

    Firefox, iTunes, whatever. Then immediately audible is by the speakers, mouse

    Click the stop registration completely comments. At this point, the guest operating system is accessible

    only via the keyboard of the host system. The audio source on the host system has no importance

    as long as the audio drivers are loaded and sound starts streaming from the

    the computer speakers.

    The solution that worked for me was uninstalled the Realtek High Definition Audio

    drivers provided by Lenovo and returning on Microsoft default Audio drivers. Now

    my clicks of the mouse in the guest OS to register as expected and without any problem and I'm

    productive all at the same time listening to music of my host system.

    Description of the host system:

    -Lenovo W540 (32 GB of RAM, 1 GB M550 Crucial SSD)

    -Windows 10 Enterprise x 64 (current with all updates from Microsoft)

    -VMware Workstation 12 Pro (12.1.0 build-3272444)

    Description of the guest system

    -Windows 7 Professional x 64 (current with all updates from Microsoft)

    -Current with VMware Tools.

    FYI - I uninstalled "Realtek High Definition Audio Driver" version 6.0.1.7572 which was

    provided by Lenovo Lenovo system update utility. In my case, this problem started after

    I upgraded my host system to 10 Windows (including all the updates from Microsoft and Lenovo).

    Thank you.

  • fill in the text field by clicking on another link on the page

    I have two pages. When I click on the link on the first page, it fill the text field on the second page (pull out the 'from' value). My first page abc.php codes:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head>  <body> <p><strong>From</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&nbsp;Subject</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Reply</strong></p> <p>biri&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deneme girdi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">click</a></p> </body> </html>

    and this is the second page lumu.php:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head>  <body> <form id="form1" name="form1" method="post" action=""> <label> <input type="text" name="hum" id="hum" /> </label> </form> </body> </html>

    What should I do?

    I thought about it. Thank you.

Maybe you are looking for

  • How to clean my Mac Book Air?

    Hello, Apple! It comes, Constance Stephens, and I have a Mac Book Air! I bought my Mac Book Air in December 2011 and I just cleaned up my Mac Book Air, with a cleaning product, my mom was here at home! I need to know what cleaning product I need to c

  • Time Machine and FileVault

    Why the Time Machine and FileVault don't get along? Can someone explain this to me? Far as I can tell this is not only a specific model of mac or time capsule as doest get along. Its all models and all versions of operating systems. How can I use bot

  • HP 15-ab207nv: hardware upgrade

    Hi, I have a HP 15-ab207nv (i3-6100u, 8 GB Ram, SSD 256) and a few questions to upgrade my laptop. (1) is it possible to change the i5 or i7 processor? (2) can I add a GPU in my laptop? for example a 840 m or 960 m? (3) it is possible to remove the D

  • Help - Nighthawk R7000 fails to provide Gigabit speed

    Hello Until recently my provided R7000 of 1 Gbps lan speeds, but is now only running at 100 Mbps. I did not any changes to it, and it is for cable and wifi connections. My ISP (VirginMedia) provides a speed of 200 Mbps via the cable and if I plug it

  • WHS client backup fails with an access denied error

    I have a new laptop with Windows 8.1 on which I have installed the Windows Home Server 2011 connector and configuration backups for her. Backups fail at every attempt to return that an error prevented backup to create a snapshot of the volumes on thi