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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
codix
Posts: 36
Registered: ‎10-28-2009

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?

Please use plain text.
Developer
JCarty
Posts: 1,055
Registered: ‎01-25-2009

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
Please use plain text.