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 Contributor
optimus_prime
Posts: 6
Registered: ‎05-08-2012
My Device: BB 9800
My Carrier: At&t

Segmented control field in API 5.0

Is there a Field in API 5.0 that has a look and feel of a segmented control ?

 

Please provide pointers

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: Segmented control field in API 5.0

I think all the standard controls are listed here:

 

http://developer.blackberry.com/java/documentation/uiquickref_intro_1986602_11.html

 

There are some additional ones here:

http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-manage...

 

See if any of these match your requirements.

 

I am not sure what you mean by segmented control, but I suspect I would call it a Tab manager, so that you have horizontals "buttons" that control which of a set of controls are displayed.  There is nothing like that in BlackBerry UI.  You have to code it yourelf.  It is not actually that difficult, since you can easily swap Fields that are displayed by by adding or removing them.  Typically you will add one set of Fields to Manager A, and another set to Manager B, then to swap, you just replace the Manager A with Manager B. 

Please use plain text.