Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
amila
Posts: 4
Registered: ‎09-29-2008
My Device: Not Specified

How we create a combo box

Can we create combo box, like windows combo box. Not look and feel of ObjectChangeListner
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: How we create a combo box

Write it yourself!

 

There are loads of examples around, but I suspect you will find the following link in the KnowledgeBase particularly useful:

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe?func=ll&objId=800505&objAction=browse&s...

 

If you click on the Fields link, you will find this article, for example:

 

How To - Create custom fields
Article Number: DB-00120

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

New Developer
amila
Posts: 4
Registered: ‎09-29-2008
My Device: Not Specified

Re: How we create a combo box

actually i create the combobox by extending feild class and overide paint method. When i add this to main screen and click the button in combo box, the pop up menu in combo box draw under the feild bellow the combo box. what is the reason behind that
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: How we create a combo box

I think for us to look at this, you are going to have to show us the code.
New Developer
black_berry
Posts: 54
Registered: ‎11-12-2008
My Device: Bold 9800 or Storm 3 whichever hits Verizon first.

Re: How we create a combo box

By any chance would you be able to post your snippet of code here?

I am new to handheld development and am in need of a combo box.


Thanks.

Thank you all for your support
black_berry