Buttons and links: must they always open a ContextMenu and always look the same?

Hello

I started with Blackberry 2 days: I'm doing a layout with a few buttons and some links.

I have two trivial (but very important) questions:

(1) my buttons work well, but when I click on them not only my defined action happen (from my FieldChangeListener), but also a kind of context Menu opens. I don't want to.

It is typical for Blackberry users get such a menu? How can I remove this?

(I'm extension screen and put my buttons in a HorizontalFieldManager)

(2) I could not change the appearance of the buttons. If I do not watch something, if you use the standard button, you can change, say, the color, or make the border transparent so that you only have a text without this button around, I'm wrong? (I need confirmation, because it is difficult to find this information explicitly during playback..).

For this reason, I used for a particular case (a small link to the next screen, which may not look like a big button) a * ActiveRichTextField * instead of a button. It is very nice... but... . How can I add the action at this link, so that it behaves like a button? For the moment I can not click on it at all!

I tried this (but it does not work..):

RTF ActiveRichTextField = new ActiveRichTextField("Impressum",RichTextField.TEXT_ALIGN_RIGHT);
_fieldManagerBottom.Add (RTF);

FieldChangeListener listenerImpressum = new FieldChangeListener() {}
' Public Sub fieldChanged (field field, int context) {}
_fieldManagerMiddle.DeleteAll ();
LabelField impressumtext = new LabelField ("i m p r e s s u m blah blah blah");
_fieldManagerMiddle.Add (impressumtext);
}
};

rtf.setChangeListener (listenerImpressum);

I would be grateful if you could anwser at least some of my questions (better than nothing)...

Thank you in advance!

silizia

Create your style CONSUME_CLICK buttons and they should not open a context menu thing.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • HP Officejet Pro 8600: Officejet Pro 8600 does not print after changing again router

    8600 worked fine on wireless for a few years. Have just changed provider of broadband services and installed a new router - I ran the Setup wireless on the 8600 and it tells me 'successful connection' but blue light wireless is disabled and when I tr

  • RUNDLL error messages

    When I turn on my netbook, I get two RUNDLL error error messages when loading C:\WINDOWS\fatples.dll and C:\WINDOWS\igejodv.dll modules specified could not be found. How can I resolve to stop these messages appearing whenever I start my computer. Whe

  • error 0xc19a0007

    Has anyone else has this error message and resolved? Please, I'm out of solutions Printer c6380 error 0xc19a0007

  • IOS Cisco 2951 15.4 (2) T 4 GB of RAM

    Hello! I am in need of help on strange problem. We buy 2951 router Cisco + MEM-2951-512U4GB bundle and we installed modules DIMM 2 x 2048. See the platform of command show me: Data DIMM0 SPD:Dimm size = 2048 MB ... The DIMM1 SPD data:Dimm size = 2048

  • Conductor of telepresence on dial

    Hey guys,. I'm running into a problem where I can not the conductor of telepresence to dial on a TCS alias record.  I configured a location and a car participant made up, but when I have 2 people to participate in the Conference I never see the drive