10-30-2008, 04:51 AM
|
#1 (permalink)
|
| Thumbs Must Hurt
Join Date: Oct 2008 Model: 8800 PIN: N/A Carrier: AT
Posts: 81
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Changing the GaugeField color Please Login to Remove! Hi,
Does anybody has any idea how to change the color of Gauge Field .
Below is my code but it changes entire gauge field color.
GaugeField gauge = new GaugeField("RGB", 1, 255, 50, Field.EDITABLE | Field.FOCUSABLE|GaugeField.PERCENT)
{
public void paint(Graphics graphics)
{
graphics.setBalckgroundColor(0xFF0000);
graphics.clear();
}
}; |
| Offline
| |