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
Highlighted
Developer
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified
Accepted Solution

How to set Transparent color to the BitmapField?

    I am displaying some Bitmap by using BitmapField, to create a screen like our Windows Desktop means Icons followed by Name of the application. When i first time displays  main screen it looking fine i.e transparent but when I move the focus from one Bitmap to other, that bitmaps are not remains the transparent. I want keep the bitmaps transparent after moving focus too. How can I do it? Does anyone have Idea?

Thanks in Advance...


BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to set Transparent color to the BitmapField?

This is the default behaviour for a BitmapField.  The following link explains how to customize the focus behaviour.

 

How To - Show focus changes using BitmapField
Article Number: DB-00427

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800345/...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to set Transparent color to the BitmapField?

Thanks for your reply. 

My application working well with focus. focus is not a matter. I want to show bitmap fields transparent after losing focus, In this case what I have to do?

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to set Transparent color to the BitmapField?

Are you saying that transparent regions do not appear transparent?  How is the bitmap in the BitmapField being created?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 68
Registered: ‎07-21-2008
My Device: Not Specified

Re: How to set Transparent color to the BitmapField?

Hi...I think  You are angry... Sorry ... I am new to the blackberry development. Due to that I am not getting what I have to ask?

 

Now my application is working fine.. I just forgot to write repaint method.

Once again sorry and thanks for reply.

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to set Transparent color to the BitmapField?

No problem, I wasn't angry at all.  Smiley Happy  I just wanted to make sure I understood your problem before giving an answer.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker