How to disable the default action with ButtonField

Hello

Here's what I get "my custom action" when you click on a button:

FieldChangeListener listener = new FieldChangeListener() {}
' Public Sub fieldChanged (field field, int context) {}
my custom action
};
};
ButtonField myButtonField = new ButtonField ("Test button");
Add (myButtonField);
myButtonField.setChangeListener (listener);

But when I click on the button shows a list of 3-point default choice. How can I disbale this list?

Thank you.

Something like that...

ButtonField myButtonField = new ButtonField (button "Test", ButtonField.CONSUME_CLICK);

Tags: BlackBerry Developers

Similar Questions

  • How to disable the default e-mail account?

    Hello all, thanks to you I downloaded K9 & it works fine - TY much. The only problem I have is that I get now 2 sets of emails, 1 of K9 & one of the default email application. I know it should be easy to do, but I do not know how to turn it off.

    Help, please.

    Ty

    Kind regards

    JIm

    JIm

    You cannot disable the default Gmail account.  It is obligatory on the phone.  However, you can turn off notifications in the Gmail app.  That should eliminate the second notification.  Open the Gmail app and press Menu-> settings and uncheck the box to mail notifications.  This should take care of your problem.  I hope this helps.

  • How to disable the default ISAKMP on Cisco 2800 router policy

    I'll have a check point asking me to disable or delete the policy by default ISAKMP on my router. I tried to do, but I got an error that the command is not supported as below:

    If this is not possible on my router that has a version of IOS:

    So, is it possible to upgrade my router IOS to the latest version to solve this problem, which is:

    "c2800nm-advsecurityk9 - mz.151 - 4.M6.

    If that does not solve my problem, I have an official document from CISCO, which on my router, which is not supported "Disabling the default ISAKMP policy.

    I would really appreciate your reply guys.

    Thanks in advance,

    Hi Ebrahim,

    Version 15.1 (4) M6 supported by the command "no default crypto isakmp policy."

    Before you run 'no default crypto isakmp policy. "

    :

    Router #sh cry default isakmp policy

    IKE default policy

    Default priority protection suite 65507

    encryption algorithm: AES - Advanced Encryption Standard (128-bit keys).

    hash algorithm: Secure Hash Standard

    authentication method: Rivest-Shamir-Adleman Signature

    Diffie-Hellman group: #5 (1536 bit)

    lifetime: 86400 seconds, no volume limit

    Default priority protection suite 65508

    encryption algorithm: AES - Advanced Encryption Standard (128-bit keys).

    hash algorithm: Secure Hash Standard

    authentication method: pre-shared Key

    Diffie-Hellman group: #5 (1536 bit)

    lifetime: 86400 seconds, no volume limit

    .

    .

    .skipped output

    After:

    Router (config) #no cry isakmp policy default

    default router #sh policy cry isakmp

    Router #sh crying political isa

    World IKE policy

    *****

    If you are upgrading, you should be ale to delete default isakmp policy.

    Thank you

    Shakur

  • HP Pavilion Notebook Gaming -: how to disable the default f key functions

    Hello, I'm a gamer so I need to use the f keys in some games, BUT I can't use the f in game because it reduce my mess of brightness with my sound and much more.

    so, how can I change the f keys, reach the deafult option, I have to press the fn key AND the f key?

    Thank you very much!

    Hello

    It can start pretty quickly

    Try the next method.

    Hold the left SHIFT key you click Shutdown to temporarily prevent hybrid boot.

    Let off the laptop computer for 10 seconds.

    Start by typing esc button permanently as soon as you press the power button (do not wait for the prompt) and see if it will access the start menu - if that is the case, select f10 to open the Bios Menu.

    Kind regards

    DP - K

  • How to disable the splash screen with "edit" / "organize"?

    I've just updated (for Mac OS X) to version 9. I don't want to use the Adobe Organizer, which seems to be new in this version. I want to just change the photographs, I never see it or use it.

    How can I jump on the start screen in Photoshop Elements when I start the program?

    Thank you!

    John

    Make an alias for the wrong file. Go to applications and you will see this:

    You want to drag without the version number or the small arrow in the lower left corner in the dock. This is the actual program. Below is an alias for the Welcome screen.

  • 11g: how to disable the ToolTip for gauge?

    Hello

    DVT:graph and dvt: gauge (type = LED) displays a ToolTip by default when you move the mouse over the series or leads.

    With dvt:graph you can set the property markertooltiptype to "MTT_NONE" in order to avoid this default ToolTip.
    For dvt: gauge, I can't find such a possibility.

    How to disable the default ToolTip for dvt: gauge too?

    Jdev 11.1.1.0.2

    concerning
    Peter

    Hi Peter,.

    For a gauge, the best way to turn off the ToolTips is to use the attribute renderImagemap with imageFormat = "PNG". For example:

    If instead, you decide to customize the ToolTips of the gauge, you can use the alt attribute to shapeAttributes (without the renderImagemap = 'false'):





    Hope this helps,
    Hugh

  • How to set the default value of the FF browser offline mode? I WANT IT IN OFFLINE MODE *.

    I wish that my FF browser opens in offline mode. There is a ton of help topics on how to disable the default offline, but none on how to activate it. I tried to do the opposite of what people suggested to turn off offline mode, but nothing seems to work.

    Thanks adavance for any help!

    The only way to start Firefox in offline mode is through the start of the Profile Manager window.

    This window contains a checkbox to start in offline mode.

    All other methods via prefs may or may not work reliable and extensions usually do the opposite and are trying to force a boot online.

  • How can I change the default action of record?

    My laptop with Windows vista has curently explores as the default action (because it does not open in a new window which is my chosen prefrence) and opened as the next option. How can I change the default action to open?

    Hello Nekora,
     
    Thanks for posting on the Community Forums of Microsoft Vista.

    Note: to set Windows Explorer to open in a new window, you must have the disabled Navigation pane.

    To Turn Off the Navigation pane, follow the steps.

    1. click on the toolbar button organize in Windows Explorer.
    2. click on page layout.
    3. Turn Off the Navigation pane - click Navigation pane to turn off highlight the icon.

    Later the value folder always options open the folder in a separate window.

    1. access control panel.
    2. open the Folder Options.
    3. Select the option "open each folder in its own window.
    4. click on apply and Ok.
    5. close the Folder Options and Windows Explorer window when finished.

    Restart the computer and check if it opens in a new window.

    It will be useful.

    Thank you and best regards,

    Srinivas
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to remove the default for a limited only account gateway (with static ip address)

    I have 1 pc with 4 accounts 1 account administrator and user the rest is limited accounts. I use a static ip address and the question is how to remove the default gateway on these limited account so that they cannot access the internet

    The entry door is fixed to the adapter and selectively cannot set properties of the different adapter for different users, all users use the same adapter.

    With Internet Explorer (does not work with other browsers), you can configure a proxy server with a fake address, you can do this through Group Policy, or you can do it manually for each individual user through the Internet Options settings.  You can set the proxy server address map of loopback (127.0.0.1) or you can set it to a bogus address of your private address range (usually the range 192.168.xxx.xxx)

    If you are using other browsers, you can use NTFS permissions to deny access to the Explorer or the program directory or you can use software restriction policies to deny access to specific programs.

    Alternatively, you can use a logon script to activate the network connection service when you open a session and the other to turn it off when you log, but if you do this you will disable the entire network for limited users if it cannot be a solution for them.  The script can be a simple two-line script:

    Logon script:

    SC config Netman start = demand
    net start netman

    Logoff script:

    net stop netman
    SC config Netman start = disabled

    These can be useful:

    http://www.howtonetworking.com/Internet/restrictie11.htm
    http://www.christianblog.com/blog/abelajohnb/disable-Internet-access-in-Windows-for-specific-user-accounts/

    John

  • How can I change the default actions of what made the PC when I connect a camera, USB key, etc.?

    How can I change the default actions of what made the PC when I connect a camera, USB key, etc.. My Samsung intensity II is what I need it for; I want to shoot to the top of this window asking me what to do when I plug in, but one day, I was not thought and press on 'No Action' with the "always perform this action for this device" (or said something like that) checkbox checked.

    Once it is connected, go to my computer, and your camera photo or anything else that should be there.  If is isn't, it is a completely different issue.  It's done, right-click on it and select Properties.  Click the AutoPlay tab.  There is a version of dialogue enough of this "window asking me what to do."  You can figure out what to do from there.

  • How to reset the default mail program? When I click to send e-mail to a box of 'Contact us' site web or excel sheet spread with addresses e-mail, a new msn email opens.

    How to reset the default mail program? Got msn.com. Now, I went to q.com. When I click to send e-mail to a box of 'Contact us' site web or excel sheet spread with addresses e-mail, a new msn email opens. Now, I get an error message: rundll32.exe - bad Image, followed by a message the the appklication or the DLL C:\Program FIles\MSN\MSNSharedFIles\MAILMAPI. DLL is not a valid Windows image. Please check against oyur installatiion diskette. I have msn unisnstalled.

    I can access my e-mail through hotmail msn, but no linger to subscribe to msn premium.

    original title: default e-mail program

    Hi PAULKRISSEL,

    This function is not supported natively in Windows. You may may find a third of the program that will change the default to q.com.

    WARNING:
    Microsoft provides no assurance or warranty, implied or otherwise and is not responsible for the download you receive from the sites of third parties or support related to the download or the downloaded technology. If you need assistance dealing with third party technology, please contact directly the manufacturer.

  • How to disable the automatic locking of the screen of the computer with windows XP

    How to disable the automatic locking of the screen of the computer with windows XP? so many people responded on windows 7, but NOT a SINGLE spoke of XP.  I have this problem.  screen goes into sleep mode and I have to wake up even if NO PASSWORD is selected.  I changed the POWER SETTINGS. Nothing helps.  NEED HELP. Thank you

    Well since it is already assigned, and a mod has not moved this somehow already in the XP section:

    On your desktop, right-click right properties, under the screen saver are of course "on Resume, display logon screen" is NOT checked. You can also disable screen saver.

  • How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Mr President.

    How to set the default value of the attribute with a sequence number? Is it possible to add a string to seq.no. like abc0001?

    Concerning

    For the date, you can use groovy expression adf.currentDate to set the current date. reference http://adfgouravtkiet.blogspot.in/2012/11/how-to-set-default-values-for-entity.html

    You already have ways to use the sequence.

    How do you add a new value in the form. You're creating a new line of your page (user interface) and by engaging with validation operation? Unless you commit you will not be able to see anything in the table.

    Thank you

  • I want to know how to disable the automatic download of the documents in my player. I used to get a dialog that ask me if I wanted to view or download. I click an option that says always perform this action to download and now they still download. I want

    I want to know how to disable the automatic download of the documents in my player. I used to get a dialog that ask me if I wanted to view or download. I click an option that says always perform this action to download and now they still download. I want to return it to where to get the dialog box that will give me the opportunity to view or download.

    Review the settings of your browser.

  • How can I disable the mercury pass with the keyboard shortcuts in the first 2015.0.2

    Hello.

    How can I disable the mercury pass with the keyboard shortcuts in the first 2015.0.2?

    I could do it in version 7... but now I can't find the possibility to edit my keyboard

    shortcuts...

    Hello

    There is no shortcut key assigned to switch between the rendering engine.

    You can fill the thing for the same Adobe feature request form:

    Feature request/Bug Report Form

    Kind regards

    Navdeep Pandey

Maybe you are looking for