BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 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
Default 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  
Old 10-30-2008, 04:51 AM   #2 (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
Default

Any idea?
Offline  




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