Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7969945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:19:09+00:00 2026-06-04T07:19:09+00:00

I am working on a blackberry application which includes radio button controls. HorizontalFieldManager hr

  • 0

I am working on a blackberry application which includes radio button controls.

HorizontalFieldManager hr = new HorizontalFieldManager();
setTitle("UI Component Sample"); 
RadioButtonGroup rbg = new RadioButtonGroup();
RadioButtonField r1 = new RadioButtonField("Option 1",rbg,true); 
RadioButtonField r2 = new RadioButtonField("Option 2",rbg,false);
hr.add(r1);
hr.add(r2);
add(hr);

Working with this code I can see my both radio buttons in curve device but when I install my app in Torch device, only 1st radio button is visible on the screen.
Getting problem in showing one radio group in a horizontal field.
It works when i use a vertical field for a group.

And Horizontal and vertical both works when i works on curve device.

Please suggest what type of bus or problem this is.

We can see only one radio button is visible

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:19:10+00:00Added an answer on June 4, 2026 at 7:19 am

    In OS 6, RadioButtonField causes some problem regarding its width. Overriding the layout(int, int) method may solve your problem. Try following code.

    RadioButtonGroup rbg = new RadioButtonGroup();
    
    RadioButtonField rbf = new RadioButtonField("Label", rbg, true) {
        protected void layout(int width, int height) {
            super.layout(getPreferredWidth(), height);
        }
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a Blackberry application which includes Zoom pinch functionality, but this
I have a working application which gets the GPS Long/Lat of from a BlackBerry
I am working on a BlackBerry Application which requires the application be running once
I'm working on a blackberry application which requires to pass a parameter to another
Greetings , I am a new developer in BlackBerry Application. I have been working
I am new to Blackberry. Present I am working on 4.7 Blackberry component pack.Now
I have been working on a BlackBerry application that consumes web services from ColdFusion
I'm working on a Blackberry application (JDE 4.6.1) on a Windows system. I need
I am designing a Netflix Application for BlackBerry mobile devices. I am currently working
Currently i am working on Blackberry Application and stuck at this point that how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.