BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-28-2007, 01:00 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2007
Model: 8100
Carrier: T-Mobile
Posts: 54
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ObjectChoiceField and choice row colors.

Please Login to Remove!

Hey all,

Is it possible to override the paint method in ObjectChoiceField so that I can have individual colors for each choice.

I have an application where the user can select colors by using an ObjectChoiceField.

However, instead of just the list reading
RED
YELLOW
BLUE

I wand the background color under the word RED to be red, and so on.

I'm confident that it is do-able, but I would need to see the original algorithm that draws each element in the dropdown list.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.