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)?
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.