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

Alfa-Laval ABB SBUP05 128Kbyte Memory Backup Module 492894901
$75.0
Alfa-Laval ABB SBUP05 128Kbyte Memory Backup Module 492894901 pictureDataFab MDCFE-SR Memory Card Reader (MDCFESR) - New (old stock)
$195.0
DataFab MDCFE-SR Memory Card Reader (MDCFESR) - New (old stock) pictureJBtek® Tiny RTC I2C DS1307 AT24C32 24C32 memory Real Time Clock Module for
$7.3
JBtek® Tiny RTC I2C DS1307 AT24C32 24C32 memory Real Time Clock Module for pictureMicro SD Storage Board Mciro SD TF Card Memory Shield Module SPI For Arduino
$0.01
Micro SD Storage Board Mciro SD TF Card Memory Shield Module SPI For Arduino pictureAT24C256 I2C Interface 4-Pin EEPROM Memory Module Jumper Cable F2H5
$1.44
AT24C256 I2C Interface 4-Pin EEPROM Memory Module Jumper Cable F2H5 picture






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