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

Mouse Over on BitmapButtonField

Hi All,

 

How to set Mouse over on BitmapButtonField?

 

Thanks

Please use plain text.
Developer
peter_strange
Posts: 19,604
Registered: ‎07-14-2008
My Device: Not Specified

Re: Mouse Over on BitmapButtonField

How are you attaching a mouse to the BlackBerry?  :smileywink:

 

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. 

Please use plain text.
Regular Contributor
KingNaresh
Posts: 87
Registered: ‎04-30-2013
My Device: 9220

Re: Mouse Over on BitmapButtonField

ok Thanks..

Please use plain text.
Regular Contributor
KingNaresh
Posts: 87
Registered: ‎04-30-2013
My Device: 9220

Re: Mouse Over on BitmapButtonField

Will try my best peter and else will ask in forum...
Please use plain text.