BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   Setting the background colour of an EditField (

satyarajasekhar 04-19-2010 01:40 AM

Setting the background colour of an EditField
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.

Dougsg38p 04-19-2010 07:25 AM

Try setting the background color in the Manager that holds the field.

All times are GMT -5. The time now is 12:33 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.