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

Posts: 770
Registered: ‎05-29-2012
My Device: see later

Bitmapfield focus

I have a focusable bitmapfield, what I want on focus to zoom the image... like  almost out of screen so that user gets the hint he is focusing on that particular bitmapfield.



i dont want to color the bitmapfield on focus. rather zoom the image.any help?


If it cant be done, what am thinking is doing two images.. one normal, another zoomed..on focus replaced normal image with zoomed..and on unfocus replaces zoomed image with normal.

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

Re: Bitmapfield focus

I don't know what you mean by this?

"zoom the image"


"what am thinking is doing two images"

There are, I believe, a number of samples of this sort of thing, where the image displayed is swapped in the onFocus() and onUnfocus() methods.  Search for Bitmap button or Image button as that is the most common use case for focusable Bitmaps.