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
Regular Contributor
Posts: 87
Registered: ‎04-30-2013
My Device: 9220
My Carrier: Blackberry
Accepted Solution

Mouse Over on BitmapButtonField

Hi All,

 

How to set Mouse over on BitmapButtonField?

 

Thanks

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

Re: Mouse Over on BitmapButtonField

How are you attaching a mouse to the BlackBerry?  Smiley Wink

 

The usual approach is to have a second image for the BitmapField, then override onFocus and onUnfocus.  In those methods, swap the Bitmap you are displaying.  This is demonstrated here:

 

http://supportforums.blackberry.com/t5/Java-Development/Show-focus-changes-using-BitmapField/ta-p/44...

 

Don't forget to try the search facility before you ask a question. 

Regular Contributor
Posts: 87
Registered: ‎04-30-2013
My Device: 9220
My Carrier: Blackberry

Re: Mouse Over on BitmapButtonField

ok Thanks..

Regular Contributor
Posts: 87
Registered: ‎04-30-2013
My Device: 9220
My Carrier: Blackberry

Re: Mouse Over on BitmapButtonField

Will try my best peter and else will ask in forum...