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
babakar
Posts: 622
Registered: ‎05-29-2012
My Carrier: see later

Basiceditfield with image

final BasicEditField answer = new  BasicEditField("","Please Select Your Prefered Language")
        {
            
        };
        answer.setEditable(false);

 

 

how can I put a background image to the basiceditfield?

 

picture.png

Please use plain text.
Developer
peter_strange
Posts: 19,508
Registered: ‎07-14-2008

Re: Basiceditfield with image

Look at the Background class, BackgroundFactory to create the Background and then use

<field>.setBackground(..);

Please use plain text.