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

Allen Bradley 1747-L551 /C SLC 500 SLC 5/05 CPU Controller Processor FRN 13
$1699.0
Allen Bradley 1747-L551 /C SLC 500 SLC 5/05 CPU Controller Processor FRN 13  pictureAVAYA Partner ACS Processor 308 Card R6-Perfect working order...
$140.0
AVAYA Partner ACS Processor 308 Card R6-Perfect working order... pictureTrane MOD01802 Unitary Control Processor
$90.0
Trane MOD01802 Unitary Control Processor pictureMori Seiki SL Yasnac 2000b control card JANCD-ECP02-11 CPU board
$225.0
Mori Seiki SL Yasnac 2000b control card JANCD-ECP02-11 CPU board pictureMotorola MVME187 MVME 187 VME CPU Module Board Card 01-W3060F 01-W1629B01B
$169.0
Motorola MVME187 MVME 187 VME CPU Module Board Card 01-W3060F 01-W1629B01B picture






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