• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get selected item from ButtonGroup of checkboxes.

 
Singh Anisha
Ranch Hand
Posts: 100
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my program i added checkboxes to buttongroup to act them as radiobutton.
And i want the itemLabel when any checkbox from them get selected.
How to do that???
 
Swastik Dey
Rancher
Posts: 1625
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anisha,

Can you show us what you have done so far with the code?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
general suggestion:

think of the specific keywords in your post.
google those keywords

you may be surprised how much sample code you'll find,
and most will have the answer to your problem.

much quicker than posting/waiting.
 
Singh Anisha
Ranch Hand
Posts: 100
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already tried to google but don't find any proper solution.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
study the methods of the buttonGroup,
or simply loop through an array of the
checkBoxes looking for the selected one
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic