×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    19

    Exclamation How to disable Center Key (CK) and let only Left Soft Key (LSK) be used

    Hello everyone,

    I created a custom item in which I need to use the Center Key for the purpose of selecting and I am successfully able to use it with the keyPressed event using the keyCode as -5. The problem is, as soon as I press the CK, it also clicks on the command above the LSK and that causes the menu to pop up. Is there any way that I can disable the CK for a particular command or something like that (because I dont need CK, since I can click on the command through LSK as well, I want to use the CK specifically for the custom item)?

    Any kind of help will be appreciated,

    Thanks and regards,
    Ashish.

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    19

    Re: How to disable Center Key (CK) and let only Left Soft Key (LSK) be used

    By the way, my program is written in J2ME.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    19

    Smile Re: How to disable Center Key (CK) and let only Left Soft Key (LSK) be used

    Just for the record, I could solve the problem yesterday by disabling the commmandlistener for the class and detecting the LSK and RSK press events from the custom item's keypressed method.. I can do that since the custom item is the only focusable item in the form.

    Regards,
    Ashish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×