bitmap image clears I scroll in the listfield and not repainted

Hi all

I try to use a single bitmap for the listfield, who owns 10 list (for example). I am just placing bitmap b4 but it erases just the user scrolls and don't then repainted. Please help me find the solution.

public MyCallback()
    {
        dest = new XYRect(5,5,20,20);
        bitmap = Bitmap.getBitmapResource("icon_select.png");
    }

    public void drawListRow(ListField listField, Graphics graphics, int index,
            int y, int width)
    {
        String text = (String) list.elementAt(index);
        dest.y+=15;
        graphics.drawBitmap(dest, bitmap, 0, 0);
        graphics.drawText(text,25, y+3,0,width);
    }

also how to make this bitmap appears as it is b4 every name I.

This is b4 scrolling. and after scrolling it looks like.

Please help me find the solution

average u when focus you and unfocus the individual line.

If it's problem so look for drawFocus, u can try calling inavalidate inside...

can u post a larger excerpt

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Re: Question Mass Storage Controller

    Hi dear smart heads of the Toshiba forum. I need assistance with drivers for the mass storage controller.I have expenses system connected on my PSAA9E, SP2 of XP with SP3 update on the windows update page. I instaled all the drivers, as the content o

  • WAN problem with DLINK KvD-g1402s WVC210

    My wvc210 works fine on my local network, but I can't access it from the internet. I have read the manual and I have tried several solutions to this forum but still no luck. Who can help? WVC210 camera:Fixed IP: 192.168.0.99Active DDNS, dynDNS provid

  • "WindowsUpdate_00000241" "WindowsUpdate_dt000"

    I was not able to find all the information about this error when loading an update for Windows 7

  • Do not install clouds Creative - 44 error

    Cannot install Adobe Creative CloudShow me the error messageCannot create the directory/critical files. (Error 44)Help please.

  • FDMEE attribute Setup in the Import Format

    I'm on 11.1.2.3.510 and I have columns enabled in Workbench attributes.Then I tried to use the attribute fields in my Format to import and it will fail to export.Will there be a concrete way of these fields in the Format to import the configuration?M