Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 272
Registered: ‎05-24-2010
My Device: DEV Alpha C & BB 9720
My Carrier: Idea and Airtel
Accepted Solution

manager with borders ..

hi ..

 

can any one tell me how to do the manager like this ..

 

 

-----------------------------------------------------

 name   |     Description                                       

-----------------------------------------------------

 

 

Between name and description should have separator ..

 

Help me with some code ..

 

i need to get the borders for that manager it should work from 4.5..

New Developer
Posts: 31
Registered: ‎08-02-2010
My Device: 9500
My Carrier: Developer

Re: manager with borders ..

 

 

Hi,

 

Refer Border class in the api...for getting the separator use paint method so that u can draw a line which looks like a separator

Developer
Posts: 272
Registered: ‎05-24-2010
My Device: DEV Alpha C & BB 9720
My Carrier: Idea and Airtel

Re: manager with borders ..

ore konda ..

 

do we have border class in 4.5 ..??

Developer
Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: manager with borders ..

try something like this...

 

s1: take one HFM

 

s2: take three label fields name, separatior and description

 

s3: add these three fields to the HFM

 

 

override the paint of the HFM method to implement the top and bottom borders.

Thanks and Regards,
PraveenGoparaju.
Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: manager with borders ..

http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/ui/component/SeparatorField.ht... can be used for vertical or horizontal separator lines.

 

to create a custom layout check this KB:
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Developer
Posts: 272
Registered: ‎05-24-2010
My Device: DEV Alpha C & BB 9720
My Carrier: Idea and Airtel

Re: manager with borders ..

thanks blanc ..

 

i got it ..