BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-05-2011, 12:12 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2011
Model: 8520
PIN: N/A
Carrier: airtel
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default setting background to verticalfieldmanager

Please Login to Remove!

Hi ,

I want to draw roundrect background and then need to add components to it.

I tried it by using following way.

VerticalFieldManager container = new VerticalFieldManager(){
protected void paintBackground(Graphics graphics) {
graphics.setBackgroundColor(0xffffffff);
final int arcSize = 15;
graphics.drawRoundRect(0, 0, getWidth(), getHeight(), arcSize, arcSize);
graphics.clear();
super.paint(graphics);
}
};

But I couldn't get roundrect. The result is normal rectangle.

Any idea pls share

Thanks,
Saranya
Offline  
Old 08-05-2011, 06:49 AM   #2 (permalink)
Grumpy Moderator
 
NJBlackBerry's Avatar
 
Join Date: Aug 2004
Location: Somewhere in the swamps of Jersey
Model: SGS7
Carrier: Verizon
Posts: 27,891
Post Thanks: 32
Thanked 454 Times in 390 Posts
Default Re: setting background to verticalfieldmanager

Moved to Developer Forum
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

Similar Threads for: setting background to verticalfieldmanager
Thread Thread Starter Forum Replies Last Post
Remove IT Policy John Clark RIM Software 571 10-01-2012 07:03 AM
Setting common background Helix26404 BES Admin Corner 0 12-15-2006 10:48 PM
Audio In Background, What Happened!? Eazym187 General 8100 Series Discussion - Pearl 2 12-10-2006 08:54 PM
Step-by-step tutorial on creating custom BlackBerry device themes! d_fisher BlackBerry Themes 0 10-17-2006 07:30 AM

Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing (D9-5)
$250.0
Commodore Amiga Time Base Corrector VT-2000 TBC II Digital Processing  (D9-5) pictureCommodore Amiga Power Supply PA-4201-5A A2000 A2500 A3000 A4000 (D4)
$65.0
Commodore Amiga Power Supply PA-4201-5A     A2000 A2500 A3000 A4000       (D4) pictureCommodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000 (D9-3)
$45.0
Commodore Amiga Supraram 2000 4mb Expansion A2000 A2500 A3000 A4000    (D9-3) pictureCommodore Amiga A2091 Hard Drive and Controller Card Quantum ProDrive LPS (D9-2)
$131.0
Commodore Amiga A2091 Hard Drive and Controller Card Quantum ProDrive LPS (D9-2) pictureCommodore Amiga A2000 A2500/50 Accelerator Card 312291 BR98YVA2630 (D9-1)
$250.0
Commodore Amiga A2000  A2500/50 Accelerator Card 312291  BR98YVA2630  (D9-1) picture






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