i am using a bitmap field that contains a small image.
when focus comes on that image then blue color of the focus does not appears,how can i set the focus width and height
my code::
contract_image_field = new BitmapField(contract_image,Field.FOCUSABLE)
{
public void getFocusRect(XYRect rect)
{
rect.width=0;
rect.height=0;
//super.getFocusRect(rect);
}
protected void onFocus(int direction)
{
myScreen.this.invalidate();
super.onFocus(direction);
}
protected void onUnfocus()
{
myScreen.this.invalidate();
super.onUnfocus();
}
};
contract_image_field.setBitmap(contract_image);
this is the way how i work with image field,
though my image is clickable but i cant see that blue color(i want that please help!!!)
changing values of width and height in getFocusRect does not even solves the problem