Keep the focus on the same button

I have two vertical frames side by side. The left one has a few buttons and the right one has something else that is not active. When I click on the third button on the left, it is highlighted. If I do something on the right, the cursor automatically placed on the first button on the left. The behavior I want, it's the third button highlighting. The focus is changed only when I click on another button on the left.  At this time the focus is changed for the new button, I clicked.

How can I keep a button on the left highlighted?

Thank you

If you have to setFocus on a specific button, you have to setFocus in a separate thread. Use this piece of code:

        protected void threadSafeCursorSetting()
        {
            PingerMain.getUiApplication().invokeLater(new Runnable()
            {
                public void run()
                {
                    listen.setFocus();
                }
            } );
        }

where listening is a button.

Press the button Bravo thank the user who has helped you.

If your problem has been resolved then please mark the thread as "accepted Solution".

Tags: BlackBerry Developers

Similar Questions

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • keep the same color of track of a multiple XY graph

    Hello world

    I want to draw the last 5 plots on the same XY graph with different colors. For this I use a shift register. Using registers at offset makes the colors of the plot change.

    ex:

    Imagine that I chose the parcel 1 to be red, parcel 2 orange and 3 yellow plot (graph XY properties)

    When I start the VI is what happpens

    First parcel of iteration: Red

    ----------

    Second plot of iteration: Red

    First parcel of iteration: orange

    ----------

    third parcel of iteration: Red

    Second plot of iteration: orange

    First parcel of iteration: yellow

    The shift register makes the landslide down making the new plot always in red.

    What happens if I want the plot to keep the same color, even if they are shifded? (first iteration plot always in the red and the second in orange...)

    Thanks in advance,

    F

    Then initialize an array of 5 parcels.  Subset of table replace to replace each parcel in order.

  • Is it possible to keep the same e-mail account but change the Windows Live ID

    Change hotmail (Windows Live ID)

    Hello

    I just wanted to know - is it possible to keep the same e-mail account, but change the Windows Live ID. I know that the password can be changed but how do I change the ID and keep the same account. Thank you

    Hello REMY Senguptta,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • I want to switch to a different service provider, but keep the same domain name

    original title: domain name

    I want to switch to a different service provider, but keep the same domain name.

    If you are referring to your own personal domain as "MyName at mydomain.com" email then you should be able to change the host very well.

    You need to change the e-mail servers in the DNS.
    You should be able to get support and complete itinerary on the mail, Web hosting.

  • I have Vista Home Premium 32 bit: can I switch to a 64 bit OS and keep the same apps, hardware and software, I already have?

    I have a system of 3 GB/500 GB HD in Inspiron 530 Dell, Vista Home Premium 32-bit.  I need to restart more frequently and the system works more slower and slower... so I think the upgrade.  Can I move to a 64 bit OS in Windows 7 or 8 and keep the same hardware and software, applications that I already like Office 2007, Photoshop Elements, etc... ?  What are the benefits to 64-bit?

    Hello

    There is no way to upgrade from 32 bit to 64 bit.

    It should be down with a clean install.

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    «Installation and reinstallation of Windows 7»

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    And the Microsoft Store where you can get an idea of the price of Windows 7:

    http://www.microsoftstore.com/store/msstore/en_US/list/CategoryID.50726100

    See you soon.

  • When I press the keys on my laptop, it makes a noise? How to stop clicks. It also stops when I touch the same button twice.

    How can I get the keyboard of my Toshiba laptop to stop clicking when I press the keys.  There is also a break when I button the same button twice.  Any suggestions?

    It could be accessibility features:

    1. Press + u to open the utilities to facilitate access.
    2. Scroll down and click on "make the keyboard easier to use".
    3. Uncheck all the boxes
  • Delete the old site, keep the same url of the new site.

    I am new to Adobe Muse, and when I'm confused, I'm HEAVILY confused.

    Been looking for this topic but could not find a clear answer.

    I gave my business site a complete overhaul, so I have two projects on Muse. However, I would like to delete the old site and download the new site. Is there a way to keep the same URL?

    Thank you!

    Use the credentials of your first site when downloading a new. When you upload your site, click "Switch account" top-right in the window "Upload to FTP Host.

  • I get a message saying that the installation has detected that a reboot of the machine may be pending and recommend I have quit the installer and restart my machine.  I did 4 times and tried to install again and again but keep the same message.  Guilty pl

    I get a message saying that the installation has detected that a reboot of the machine may be pending and recommend I have quit the installer and restart my machine.  I did 4 times and tried to install again and again but keep the same message.  Help, please!

    Hi Keleahaiko,

    Please click on IGNORE and continue with the installation, let us know if this helps.

  • Keep the same opacity of two objects that overlap

    Hi, I have a simple question to which I should be able to explain with a diagram.

    I have just two objects of the same exact color that intersect at some points. I applied an amount of opacity of 80% for both objects and I will have to keep the same color where they cross. Unfortunately when they cross the color becomes darker and is always transparent but not equal to two objects where they will not cross paths.

    Is there a way to do this? Thanks in advance.

    Lee.

    You can also group them and do a piercing group. But I assumed that the actual work is much more complex and I hate having to guess.

  • Hide & visible using the same button.

    Hi, I want to add the button to my pdf form, which should make this push button is. If I click on this button, bellows must hide the data of 4 fields. If I click again the same button until the hidden data should visible. So how can do that. even java script is not serious... pls help me. Thank you very much..

    4 fields

    Text Field0.1.1

    Text Field0.1.2

    Text Field0.1.3.1

    Text Field0.1.3.2

    Yes. The display of the field has 4 possible values.

    We could test each field and asjust the display of the found value property.

    var cField = "Field0.1.1 text"; name of the field to be addressed;

    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    } else {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of display property;
    } / / end of the object field.

    .

    var cField = "Field0.1.1 text"; name of the field to be addressed;

    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    } else {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of display property;
    } / / end of the object field.

    .

    You can then use the above code for each field, write a loop to change the field name of the field. You can even write a function to toggle the display between visible and hidden property.

    function GetField (cField) {}
    Returns the field object for the name cField or null;
    oField = this.getField (cField) var; get the field object;
    if(oField == null) {}
    App.Alert ("error to the field-" "+ cField +" \ "", 0, 0);
    }
    return oField;
    } / / end GetField funciton

    function ToogleDisplay (cField) {}
    Tooble the show field between hidden and display;
    var oField = GetField (cField); Retrieve the field object;
    If (oField! = null) {}
    if(oField.Display == Display.visible) {}
    change the visible display to hidden;
    oField.display = display.hidden;
    } else {}
    set up any visible display;
    oField.display = display.visible;
    } / / end of property of display field;
    } / / end of the field object not null;
    Returns true;
    } / / end of ToggleDisplay function;

    ToogleDisplay ("Field0.1.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.3.1 text"); Toogle a field;
    ToogleDisplay ("Field0.1.3.2 text"); Toogle a field;

    The above code will trap field name erors and advise of the number and continues to run.

  • keep the same update

    Hello
    Windows always tells me that I have an important update to install. I have install and then he told me always must be installed. That's what keeps the installation.    Microsoft SQL Server 2005 Express Edition SP3 (KB955706)

    Looks like when I'm going to update the story that he "put" about 30 times the exact same update. I don't know if I need to worry about this or what.  Thanks Sheila

    Hi Smwoods2003,

    Thank you for using Microsoft Vista answers Forums.

    You can choose to have windows stop offering you this update. Here's how:

    1.

    Open Windows Update by clicking the Start button, all programsand then click Windows Update.

    2.

    In the left pane, click check for updates , and then, when Windows finds updates for your computer, click view available updates.

    3.

    Do right click the update you want to install, and then click hide update. The next time you check the updates, the update will not be automatically selected or installed.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    We can't wait to hear back from you on your results.

    David O
    Microsoft Answers Support Engineer
    Visit our and tell us what you think.

  • not able to cal or action listener action on the button while using pop up on the same button

    Hi, my requirement is to call popup button and also action on the same command button, for this when pop up is successfully being cal called, but not in action. Are there other alternative for this? Jdev 12.1.1.6.0 regards, Parvez

    You import the wrong class.

    This is the you need to import classes

    Import org.apache.myfaces.trinidad.render.ExtendedRenderKitService;

    Import org.apache.myfaces.trinidad.util.Service;

  • How can I keep the same resolution on my website all the time?

    Hi all

    I have a problem of visualization of my Web site in the browser:

    I'm working on my main computer with a resolution of 1024 x 768 and it's my home page preview:

    1024 x 768.png

    and when I change the resolution on this computer, I have no change.

    When I do a test with my computer at work which is 1920 x 1080, this is the result:

    1920 x 1080.png

    I like to keep all the time the same aspect that appears on my main computer regardless of the resolution used.

    How can I do?

    FYI, I use a plug-in called 'Fullscreen video backgrounds' behind the main image in SVG.

    Thanks a lot for your help.

    Cyril.

    You can use the features of PIN and scroll to achieve something similar, but it's more responsive you are talking about.

    You can create the bottom like the width of the browser 100% that would be same in sizes from browser or go with customization, Alternatively, you can try these options:

    http://musewidgets.com/search?q=responsive

    Thank you

    Sanjit

  • How can I keep the same results degraded when using shift?

    Hello

    I have a question I would appreciate help with that...

    The letter 'A' on the left is filled with a radial gradient. The letter 'A' on the right is the same except that I used to compensate for the way to develop the shape of the letter 'A', but the gradient does not keep its original coordinates and of the external shape of the offset 'A' does not match the slope of the original inside "A". I need the gradient to extend out with the same coordinates of Center than the gradient inside the initial 'A '. I can't change just the "A". I need these two forms of the 'A' but filled by the same gradient. Thanks for any help!

    Screen Shot 2013-05-24 at 11.30.14 AM.png

    I show the annotaotr so that you can understand what is actually happening.

    Read my post 1. again, you can have the gradient made what you need, just choose between one of these methods to compensate for the path

    1. effect > path > offset Path (to keep the original position of the gradient)
    2. object > path > offset (for the gradeint to go from edge to edge)

Maybe you are looking for

  • Y at - it support for the Firefox 19 new retina display?

    My Macbook Pro retina comes automatically upgraded to version 19. 18 version has had the support of retina, which was great, but since the upgrade, my browser is pixelated again. No support of the retina on the new version of 19 institutions?

  • HP laptop laptop 15-af068sa: broken

    Good evening everyone, I would like to ask for help with a problem I had. My laptop was made unfunctionable because of water damage. While this may seem like an explicit question, this has actually worked after drying and broadcast, although periodic

  • Initialization problem

    Hello This is my code: int main (int argc, char * argv []){error int = 0; / * initialize and load resources * /.nullChk (InitCVIRTE (0, argv, 0));errChk (panelHandle = LoadPanel (0, "CVI GUI.uir", Panel)); / * display of the control panel and run the

  • Photo extensions

    Can someone help me to convert a few photos I AAAA.fxp in AAAA.jpg? Thank you very much, Bob Bottomley

  • NiIviDmmComponent.h not found?

    I'm finally getting closer on this conversion of a large project in Visual Studio C++ 6.0 to Visual Studio .net 2005. Now in my NIIncludes.h file, it is impossible to find NiIviDmmComponent.h. I freshly installed nor Dmm 2.9 and it shows in the last