2 selected Radio buttons in a Group

  • Thread starter Thread starter lakepeir
  • Start date Start date
L

lakepeir

Hello,

I have 4 radio buttons in a groupbox on a form. When I run the
application, I would like to only select one radio button, but I can
select one radio button from the first three radion buttons and the
last radio button. It appears that the last radio button is not
grouped with the others although I have them all in the same groupbox.
Please help. Thanks.
 
All RadioButton Controls in a container control (suchas, a groupbox
control) are exclusive of each other. That means, if one RadioButton
control is selected, the others will be deselected.

My advice would be to remove the radioButton controls, and remove the
container control from your application and then replace them, making
sure that all the radioButtons are placed in the Groupbox container
control.
 
Thanks. It worked!
JimmyKoolPantz said:
All RadioButton Controls in a container control (suchas, a groupbox
control) are exclusive of each other. That means, if one RadioButton
control is selected, the others will be deselected.

My advice would be to remove the radioButton controls, and remove the
container control from your application and then replace them, making
sure that all the radioButtons are placed in the Groupbox container
control.
 
Back
Top