BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-05-2007, 07:09 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 7230
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with MainScreen

Please Login to Remove!

Hi All
I have kept background image in MainScreen. Its look like good. But whenever I try to move the cursor on the
Screen image is removed corresponds to the cursor. plz tell me what to do for that.
Offline  
Old 03-05-2007, 08:36 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

stop spamming! - there's about 20 threads from you on here and on blackberry.com

post your code otherwise nobody can help you.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 03-05-2007, 11:37 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Model: 7230
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jfisher
stop spamming! - there's about 20 threads from you on here and on blackberry.com

post your code otherwise nobody can help you.
Thanks for reply.

I have used this code

backgroundBitmap = Bitmap.getBitmapResource("background.png");
msc=new MainScreen(MainScreen.DEFAULT_MENU|MainScreen.DEFA ULT_CLOSE);

vfm= new VerticalFieldManager (VerticalFieldManager.USE_ALL_WIDTH | VerticalFieldManager.USE_ALL_HEIGHT)
{

//Override the paint method to draw the background image.
public void paint(Graphics graphics)
{
//Draw the background image and then call paint.
graphics.drawBitmap(0, 0, 240, 240, backgroundBitmap, 0, 0);
super.paint(graphics);
}

};

After that added all the control to VerticalFieldManager and finally added to the mainScreen.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

NEW A3NMCA-24 IN BOX Mitsubishi Memory Card
$235.85
NEW A3NMCA-24 IN BOX Mitsubishi Memory Card picture1xMicro SD Storage Board Mciro SD TF Card Memory Shield Module SPI For Arduino B
$0.99
1xMicro SD Storage Board Mciro SD TF Card Memory Shield Module SPI For Arduino B picturewireless barcode scanner tags reader with usb memory adapter for inventory
$52.93
wireless barcode scanner tags reader with usb memory adapter for inventory pictureAMD Advanced Micro Devices Flash Memory Products Databook Data Book 1996
$7.99
AMD Advanced Micro Devices Flash Memory Products Databook Data Book 1996 pictureIntel Memory Components Handbook Databook Data Book 1983
$7.99
Intel Memory Components Handbook Databook Data Book 1983 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.