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
New Developer
Posts: 12
Registered: ‎11-24-2009
My Device: Not Specified

Image maps

Is there a way to create image maps ? And to put an image on top of another (superimpose)?

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

Re: Image maps

I'm not sure what an image map is.  Can you explain?

 

Re putting images on top of images, the answer may be yes or no, depending on what you are actually trying to achieve. Perhaps you could explain your requirement in a little more detail so that we can answer the question properly. 

Highlighted
New Developer
Posts: 12
Registered: ‎11-24-2009
My Device: Not Specified

Re: Image maps

Yes, maybe better. I have the attached image which I want to use as a menu.

 

When the focus is on the first image, then I need that 2 and 3 will be disabled and when I click into it, I execute an action.

 

When the focus is on the secondimage, then I need that 1 and 3 will be disabled and when I click into it, I execute another action.

 

The same for third image.

 

Thanks in advance.

 

Developer
Posts: 57
Registered: ‎01-29-2009
My Device: Not Specified

Re: Image maps

See the  PictureBackgroundButtonField in samples.

 

You can override the sublayout to put one image on other.

 

As par your need you can change the PictureBackgroundButtonField.

 

Regards,

Vaikunth