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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
RapsFan
Posts: 423
Registered: ‎08-02-2010
My Carrier: Telus

UI design question, best type of field for entering height and weight

Just want some opinions. What would be better (aethsthetically and functionality wise) for getting a user's height? I originally thought a type of spinner similar to DateField but coding this from scratch is beyond my skill level.

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: UI design question, best type of field for entering height and weight

If you are using 5.0 and higher you can use SpinBoxField. Once you get it working then you can work backwords to get it on older OSes/other devices.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
RapsFan
Posts: 423
Registered: ‎08-02-2010
My Carrier: Telus

Re: UI design question, best type of field for entering height and weight

Thanks :smileyhappy: I didn't know about spinboxfield
Please use plain text.
Developer
peter_strange
Posts: 17,702
Registered: ‎07-14-2008

Re: UI design question, best type of field for entering height and weight

In older OS's, the NumericChoiceField seems like a good choice where you have a limited range of numeric values to choose from.

Please use plain text.
Developer
RapsFan
Posts: 423
Registered: ‎08-02-2010
My Carrier: Telus

Re: UI design question, best type of field for entering height and weight

Thanks peter. That sounds like the way to go for older OS's
Please use plain text.