Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Blackberry how to draw buttonfield devided into two different color..

Hi,

       how to make the button field that is devided into two different  color...

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry how to draw buttonfield devided into two different color..

Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry how to draw buttonfield devided into two different color..

Hi,

      i mean one clickable field (e.g Button) and that field is  devided into two different  Background color  Green and

    white and  and the field also has the two inner text  one in white and  other in Balck color.....

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry how to draw buttonfield devided into two different color..

[ Edited ]

And you can't do this with an Image?

 

Can you show us something like what you mean?

Developer
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: Blackberry how to draw buttonfield devided into two different color..

You can do thi sby overriding paint method of your field. in WHich on focus you may need to set something & when its loss focus you can change your background color & its text color.

Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry how to draw buttonfield devided into two different color..

Hi,

       how can i upload the image that is related to this question???? ...

Developer
Posts: 206
Registered: ‎02-22-2011
My Device: BB TORCH & 9800
My Carrier: idea

Re: Blackberry how to draw buttonfield devided into two different color..

For uploading any image you can select attachments so take the screen shot of your requirement and attach it..

For more info find below image

 

 

 

*****************************************************************************
* Give kudos when you like it
* Mark it as a solution if it fixes your issue
Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry how to draw buttonfield devided into two different color..

Hi

        I have not this option in Ui .....

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Blackberry how to draw buttonfield divided into two different color..

[ Edited ]

Add a post to the following Thread, I think this gets reviewed and new people get given Developer status and the ability to attach images. 

 

http://supportforums.blackberry.com/t5/Java-Development/Developers-Start-here/td-p/1459329

 

Since that might take some time perhaps you can look to putting the image on one of the file sharing or image sharing sites?  Not one that requires a login to view please.

Developer
Posts: 214
Registered: ‎03-18-2012
My Device: 8520
My Carrier: Company

Re: Blackberry how to draw buttonfield devided into two different color..

HI,

       i inserted the image that describe the clickablefield(e.g Buttonfield )  that i want to show.......