BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-19-2010, 01:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: AIRTEL
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting the background colour of an EditField

Please Login to Remove!

Hi,
I need to set the background colour of an edit field.

When i am using the setbackgroundColor in the paint method of the blackberry it was also changing the text colour of the corresponding editfield's label.

I didn't require the colour of the label field to be changed.

What i require was whatever be the length of the editfield, i require seperate background colour for that much length and also has to change the cursor color also.

Please help me in this aspect.
Offline  
Old 04-19-2010, 07:25 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Try setting the background color in the Manager that holds the field.
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

HSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR,BIKES, JEEP
$226.99
HSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR,BIKES, JEEP pictureDEC4015 Motorola 16 DIP IC - Vintage 1974 NOS Qty 1
$9.99
DEC4015 Motorola 16 DIP IC - Vintage 1974 NOS Qty 1 pictureHSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$153.0
HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureDEC4015P Raytheon 16 DIP IC DEC4015 - Vintage 1974 NOS Qty 1
$9.99
DEC4015P Raytheon 16 DIP IC DEC4015 - Vintage 1974 NOS Qty 1 pictureHSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$164.99
HSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP picture






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