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
Developer
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Custom ListField

Is it possible to add ObjectChoiceField to a ListField? How to do it?

Developer
Posts: 16,676
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Custom ListField

no.
a listfield is a field, not a manager. you draw everything yourself in drawListRow.
you can have two listfields and a choicefield between them though.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: Custom ListField

"you can have two listfields and a choicefield between them though."
I didnt get this.
Developer
Posts: 16,676
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Custom ListField

listfield1
choicefield
listfield2
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 19,628
Registered: ‎07-14-2008
My Device: Not Specified

Re: Custom ListField

It means in your Screen, add one ListField, then add a ChoiceField, then add another ListField.