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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Contributor
Posts: 28
Registered: ‎07-06-2011
My Device: 9800
My Carrier: blackberry developer trainee

Checkboxes in same row

Hi ,

I have to give 2 checkboxes with image in the same row, not in the bottom with clickable propertis.

when iam giving in veriticalfield manager, the clickable prperty is not coming

but when im giving in horizontalfield manager,its coming at the bottom only?

how i can fix it?

can anybody help me for this one?

Developer
Posts: 17,026
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Checkboxes in same row

use a custom layout:
http://supportforums.blackberry.com/t5/Java-Development/Create-a-custom-layout-manager-for-a-screen/...
----------------------------------------------------------
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
Contributor
Posts: 28
Registered: ‎07-06-2011
My Device: 9800
My Carrier: blackberry developer trainee

Re: Checkboxes in same row

That was not the answer for my question.

iam asking to create two buttons in same row,not in bottom

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Checkboxes in same row

I suspect you will find that Simon has in fact given you a correct answer.  However I also suspect he, like me, is a bit confused by your question. 

 

The usual problem when attempting to line things up beside each other is that the Manager will always allocate the full width of the screen to the Field.  Using a Customer Manager which knows how wide to make the Field solves this problem.  That is the question I thought you were asking.

 

However it might not be. 

 

I really don't know what this means:

 

 "have to give 2 checkboxes with image in the same row, not in the bottom with clickable properties"

 

I take it the checkbox with image is something you have done?  I don't remember seeing on in the provided Fields.  But I am not clear what you mean by 'bottom', nor am I clear what you mean by clickable properties.

 

In your situation I would try standard Fields and see if the same problem occurs.  If it does then you can post that code and we can all run it and help you get it working. 

 

Assuming it does work, then slowly integrate the changes that you have made until you find out where the problem occurs. 

 

If I was guessing I would say that you have a bug in your checkbox with Image, and the Image is meaning the Field takes up more vertical space than you expect.  But that is only an guess.