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
Developer
naveensh
Posts: 51
Registered: ‎09-18-2008
My Device: Not Specified

I Need to put an images for CheckBoxField ( check and uncheck)

Hello All

 

For CheckBoxField

 

I need to put an checkbox images(for both check and uncheck).

 

Can you help me how can i put my own check and uncheck images.

 

If u provied a source code it wil be helpfull for me..

 

Thanks in advance.

 

Please use plain text.
Developer
simon_hain
Posts: 15,805
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: I Need to put an images for CheckBoxField ( check and uncheck)

you can use a bitmapfield, overwrite navigationClick and keyChar (for space-key) and exchange the displayed image. provide a getState method to read the state of the field.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.