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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Dell 5130CN Toner Lot Of 7 OEM & NIB Cyan Yellow Magenta Black
$850.0
Dell 5130CN Toner Lot Of 7 OEM & NIB Cyan Yellow Magenta Black   pictureGENUINE OEM FACTORY SEALED DELL 5130cdn/C5765dn BLACK IMAGING DRUM
$49.95
GENUINE OEM FACTORY SEALED DELL 5130cdn/C5765dn BLACK IMAGING DRUM  pictureDELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL
$216.18
DELL 725-10263 / 331-1310 / KT74N Lamp manufactured by DELL pictureFor Dell Inspiron Mini 10 Series OEM 1.33GHz CPU Ram Board P787N LS-4764P Gr A+
$13.98
For Dell Inspiron Mini 10 Series OEM 1.33GHz CPU Ram Board P787N LS-4764P Gr A+ pictureDell UG190 OEM Color Printer 3110CN 3115CN Laser Maintenance Kit New in Box
$249.95
Dell UG190 OEM Color Printer 3110CN 3115CN Laser Maintenance Kit New in Box  picture






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