aah i see. instead of drawing straight to the bitmapfield draw to a bitmap and then populate the bitmap field for display:
Bitmap myBitmap = new Bitmap(240, 100);
BitmapField myBitmapField = new BitmapField(myBitmap, BitmapField.FOCUSABLE);
Graphics myGraphics = new Graphics(myBitmap);
myGraphics.setColor(0xFF0000);
myGraphics.fillRect(10, 20, 10, 10);
myGraphics.drawText("myText", 20, 5);
myBitmapField.setBitmap(myBitmap);
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
|