BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-30-2011, 08:18 AM   #1 (permalink)
ilu
New Member
 
Join Date: Sep 2011
Model: 7100T
PIN: N/A
Carrier: Trainee
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Without using Graqphics How Can i Add background Color for Button?

Please Login to Remove!

Hai i created A blackberry Application,i Added many Buttons in that Field.Now i want to Display the Color For Button without using Graphics.How Can i do this?

Code:
HorizontalFieldManager horizontalBottomManager  = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL);
this.setStatus(horizontalBottomManager);
//horizontalBottomManager.add(new SeparatorField());
Background b= BackgroundFactory.createSolidBackground(Color.GREEN);
ButtonField btnInspectorSetup = new ButtonField("Inspector Setup");
btnInspectorSetup.setBackground(b) ;
I tried this Code, but it Shows only Text in Button.
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

Similar Threads for: Without using Graqphics How Can i Add background Color for Button?
Thread Thread Starter Forum Replies Last Post
Painting a background on a MainScreen CELITE Developer Forum 20 09-18-2008 08:44 PM
Popup Screen from background thread (without white background) arv Developer Forum 1 06-30-2008 03:09 AM
Failed to add to the BlackBerry Server Juanmitax BES Admin Corner 9 07-20-2006 04:33 PM
7100I Big HELP whoknowswhat General Legacy Device Discussion 1 10-23-2005 03:45 PM
cannot add NEW users to BES, but can add existing members of AD eddie11426 BES Admin Corner 7 09-26-2005 03:59 PM

8 LOTS OF 7 Samsung KM44C256bp-8 DIP 1 MEG RAM DEVICES USED TESTED WORKING
$8.99
8 LOTS OF 7 Samsung KM44C256bp-8 DIP 1 MEG RAM DEVICES USED TESTED WORKING  picture2 Pcs Red Ram Leather Welding Cape Sleeve Size Small Weld Torching Torch Vest
$23.0
2 Pcs Red Ram Leather Welding Cape Sleeve Size Small Weld Torching Torch Vest pictureMotorola Symbol MC75A8-PYESWQRA9WR Sprint CDMA EVDO 256M RAM 1GFlash
$275.0
Motorola Symbol MC75A8-PYESWQRA9WR Sprint CDMA EVDO 256M RAM 1GFlash pictureAllen Bradley 2711P-RP1 /G PanelView Plus Logic Module Flash/RAM 64MB DC
$625.0
Allen Bradley 2711P-RP1 /G PanelView Plus Logic Module Flash/RAM 64MB DC pictureOEM 2GB DDR3 Ram Memory NCR 0068622197 AVF6456U64F1600GA-AP for POS Devices
$15.0
OEM 2GB DDR3 Ram Memory NCR 0068622197 AVF6456U64F1600GA-AP for POS Devices picture






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