Click on the PopupScreen button

Hi guys,.

I want just some click Done button when you press enter.

I tried this both approaches, but without effect:

SerializableAttribute public class SearchContactDialog extends PopupScreen implements
{FieldChangeListener}

// ..

protected boolean keyDown (int keyCode, int time) {}
If (keycode == Keypad.KEY_ENTER) {}
OnSearchButton();
Invalidate()

Return super.keyDown (keycode, time);
}
   
{} protected Boolean keyChar (char c, int status, int time)
If (c == Characters.ENTER) {}
searchInput.setText ("adsfaS");
OnSearchButton();
}
Return super.keyChar (c, status, time);
}

// ...

}

OK, mea culpa.

Here is the code:

protected boolean keyDown (int keyCode, int time) {}
Touch int = Keypad.key (keycode);
If (key == Keypad.KEY_ENTER) {}
onSearchButton();
}
Another yew (key is Keypad.KEY_ESCAPE)
{
onCancelButton();
}
Return super.keyDown (keycode, time);
}

Tags: BlackBerry Developers

Similar Questions

  • When I click on the menu button, why I can't see the historical option?

    According to the help instructions, in order to remove all or part of the history of my search, I'm supposed to click on the menu button and then select the option of history. However, when I click on the menu button, the story is not listed as one of the options.

    Hi, the button can be in 'other tools and features' in the section Customize the menu. If so, you can drag it to a location of your choice. If it is not visible, try clicking on Restore Defaults - more information - controls customize Firefox, buttons, and toolbars.

    You also bring up history by pressing Ctrl + H. Or you can bring up the menu bar (History tab) temporarily by pressing Alt, or if you want to stay there all the time, then right-click in the tab bar (but not on a tab) and a tick/check bar menu.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • Double click on the Home button does not show open applications?

    Why not double click on the Home button shows my open apps? I have an iphone 6Plus, and I want to close some applications that do not work properly.

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything. And then try to click double fast to access the app selector window. Note that these applications are not open. May be best to remove the apps and reinstall, but try the above first.

    On multitasking on your iPhone, iPad and iPod touch - Apple Support

  • When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    How can I fix it?

    Nevermind, I restarted the computer and it was fixed

  • When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc.

    When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc. It only shows the parameters for the flash player. How can I fix?

    You can find the URL of the thumbnail by following these steps:
    In the context menu, choose {inspect element}.
    Now, you can see the URL in the source down (perhaps you click the small arrow to the left of the line of seledted firstly to show).

  • Context menu (or click on the right button) does not appear in the menu window

    The context menu does not appear in certain sections of the browser.
    If I run the browser in safe mode, it works without problem.
    I tried to reinstall firefox, after uninstalling I also manually deleted everything hidden and visible files - did not help.
    Also I tried the restore mode by default - did not help.

    Here, I put screenshoot.
    Kind regards.

    Sorry for my eng

    Hello

    Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options (Preferences on Mac or Linux) as follows:

      • In Firefox 29,0 and above, click on the menu button

        then select Options Preferences on Mac or Linux, or Windows.

      • In 28.0 Firefox and earlier versions, click on the Firefox orange upper-left button, then select the 'Options' button or, if there is no button up Firefox, go to tools > Options.
    2. In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • Whenever I have press and hold to my left click on the mouse button, it automatically highlights everything from this point to the top of the page

    Whenever I press and my left click without releasing, it atomically highlights everything from this point to the top of the page. Also, note if I'm now left click on the scroll bar, it goes back to the original location, even when I try to drag it upwards or downwards.

    Open internet Explorer and the problem does not occur there.

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

  • Middle by clicking on the 'go' button is no longer, opens a new tab.

    When you pasted a link in the address bar and middle-click on the 'go' button, it is used to open a new tab to the new address. Now, it only goes to the average current tab page - by clicking on the button refresh (without a new link) always opens in a new tab, however.

    Still works for me.

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • Whenever I try to click on the "back" button or the scroll bar, I get a popup asking me stupid questions, i.e.: Customize the toolbar / return reload etc how can I disable this gene

    When I click on the "back" button or the scroll bar with my mouse, I get a popup asking if I want to customize my toolbar back/reload/open (scrolling) or in a new window? I'm then cannot clear the pop-up window. How can I remove/fix this very annoying problem. I spend a lot of time trying to remove these popups and they keep recurring. No fix for that. I can't seem to find one in the preferences, and I'm starting to hate this OS because of this. Help!

    Please post a screenshot that shows what you hear. Please do not include personal information.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

  • Automatic filling instructions say click on the Firefox button > Options, but this choice does not. where is he?

    UPDATE: following instructions provided by cor - el; they worked. Thank you! Interestingly, after doing that once, choose 'Options' became visible and remained so.

    Running Win7. Firefox instructions say:
    "Prevent Firefox from storing form entries.
    If you do not want Firefox to remember what you have entered in the form fields, you can turn off the automatic form fill feature:
    1. at the top of the Firefox window, click on the Firefox button, and then click Options. [* There is NO other CHOICE 'OPTIONS', so it's impossible and the process can take place as described.*]
    2. Select the Privacy panel.
    3. set Firefox will: to use the custom settings for history.
    4. remove the check mark from the box that says search and shape Remember history.
    5. click OK to close the Options window. .

    THE PROBLEM: in the order above, there is no choice 'Options', while the process can not be run as described.
    How should I complete the process?

    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.
    • Use "Firefox > Options" instead of "tools > Options" If the menu bar is hidden.
  • I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    iPhones have a proximity sensor which is supposed to automatically turn off the screen when you hold it in your face. If this is not the case you can take the phone and have it checked.

  • How can I clear the notifications from the notification Center while I can not click on the delete button?

    How can I clear the notifications from the notification Center while I can not click on the delete button? I have an iphone with ios 9.3 6

    WBY can't you click on the white circle with an X in it next to the notification?

  • When I click on the Home button, a new tab search server 10.0.0.4.

    When I click on the Home button, FF 3.6.6 opens in a new tab, but also opens a new tab constantly seek the 10.0.0.4 server, which of course does not exist! Even whenever I open FF, it always automatically starts looking for server 10.0.0.4 and also opens my Home Page in a new tab.

    This has happened

    Each time Firefox opened

    == I had to connect to the server from my college to access the Internet (they use Cyberroam to monitor access to the site). But now I'm home and connect directly to the net.

    I solved the problem... quite stupid of me... Cyberroam changed my homepage link, which in fact check the server each time. All I had to do was select the Home Page file in the preferences and save it correctly.
    Sorry for not checking properly in the first place.

    Fox

  • By clicking with the right button on something, I accidentally stuck the pictures on a website - I want them back, but may not know how to do

    By clicking with the right button on something, I accidentally blocked the photos to a Web site - want their return but may not know how to do

    This has happened

    Don't know how many times

    == I right click on the images of block a site or something like that.

    Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings

    A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar and click the button "additional information".
    This will open the Security tab of the window of the Information Page (also accessible via Tools > Page Info).
    Go to the Media of this Page Info window tab.
    Select the first image and scroll though the list with the arrow pointing downwards.
    If an image in the list is grayed out and there is a check mark in the box of block Images of... remove this brand in order to unlock the images from this area.

    See also the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Why my iPhoto has started 'quit unexpectely' shortly after I click on the info button to access information on a particular photo?

    Why my iPhoto has started "leaving non-response" shortly after I click on the "info" button in order to access information about a particular photo?  It happens with all the photos in my iPhoto.

    I assume you are using v9.4.3 on 10.8.5

    Huxly647 discovered this fix

    1 goto /Applications/iPhoto.app/Contents/Resources

    2 delete the files 'googlemap.html' and googlesearch.html

    IPhoto no longer crashes, site does not work, but it doesn't bother me too much.

Maybe you are looking for