BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-19-2010, 02: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, 08: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





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