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: 36
Registered: ‎10-28-2009
My Device: Not Specified

Manually highlight ListFieldRow

Hi,

 

how can I paint the listfieldrow manually as if it was focused?

 

I mean the blue shaded background.

 

I have got this code line

 

g.setDrawingStyle(Graphics.DRAWSTYLE_FOCUS, true);

 

But what will be the next step?

Highlighted
Developer
Posts: 1,055
Registered: ‎01-25-2009
My Device: BlackBerry Bold 9650/BlackBerry Torch 9800

Re: Manually highlight ListFieldRow

Is there a reason you couldn't focus on the row and have the OS handle it for you?

Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful