File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Checkbox and CheckboxGroup?

 
Vanchi Nathan
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

The code below display a button and 3 option (radio) buttons. The program must uncheck the selected radio button when the button is clicked. Actually nothing happens in this code, that is the selected radio button has no change. Can anyone give a helping hand.

regards,

 
Craig Wood
Ranch Hand
Posts: 1535
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the api there will always be one checkbox in the CheckboxGroup selected. The usual way to be able to have no selections is to add another checkbox to the group but do not display it in your gui. When you want to have no selections you can select the extra checkbox.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic