473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Group Radio Buttons Without GroupBox or Panel.

Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?

For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4

On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.

May 3 '07 #1
3 31498
This might help you:

http://www.codeproject.com/useritems/RadioListBox.asp

Cheers,
Johnny J.


"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11**********************@q75g2000hsh.googlegr oups.com...
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?

For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4

On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.

May 4 '07 #2
Dom
Why doyou stipulate that you can't use an group box or a panel? One
of the uses of the panel control is to do exactly what you want.

Dom
On May 2, 11:11 pm, Sin Jeong-hun <typing...@gmail.comwrote:
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?

For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4

On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.

May 4 '07 #3
You mean that it is impossible? I was just curious if I could group
radio buttons
without other container components. If it is impossible, I will use a
panel.
Thank you.

On May 5, 12:21 am, Dom <dolivas...@gmail.comwrote:
Why doyou stipulate that you can't use an group box or a panel? One
of the uses of the panel control is to do exactly what you want.

Dom

On May 2, 11:11 pm, Sin Jeong-hun <typing...@gmail.comwrote:
Suppose there are 4 radion buttons on the form. There's no groupbox or
panel to seperate them. By default, the 4 radio buttons are mutually
exclusive. Is it possible to group them into two groups?
For example,
Gender ( )rb1 ( )rb2
Marital status ( )rb3 ( )rb4
On HTML, I could group them designating the same name for the radio
buttons. How can I do this in C# without using groupbox , panel or any
other container components? Thank you.

May 5 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brian Henry | last post by:
In standard VB.NET you can group radio buttons in a pannel or frame and when you click on one in that frame or pannel the others will update relative to the selection so only the one you picked is...
2
by: James P. | last post by:
Help, I need to display radio buttons on a form. The data is from SQL table: each row in each table is displayed as a radio button. I have multiple SQL tables so I understand I need to put...
2
by: lakepeir | last post by:
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...
2
by: dpazza | last post by:
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on...
9
by: hawaiijeff | last post by:
OK, this is a newbie question that I can't seem to find the answer to. I'm in Access 2002 and trying to group radio buttons together so that only one of them can be clicked at a time. I can't seem...
2
by: nudrat | last post by:
Hi All, I have two groups of radion button sets. based on selection of one group made the other group radio buttons disable. suppose some one has selected one radion button from a group, so one...
4
by: Gugale at Lincoln | last post by:
Hi, I am using reflection to read names from enum and creating radio buttons inside a groupbox. Everything is working fine. However, I am not able to adjust the size of the group box to fit the...
5
by: ayush patel | last post by:
Hi this is rather a simple question but i dont know why it is creating a problem. i have two radio buttons in a panel and they have to be mutually exclusive. in windows application i know it works...
5
by: MIcahMIcah | last post by:
Howdy all, New member, first post. I've got a form designed to be a scorecard for quality assurance monitoring in a customer service call center. The person I'm kaing the database for wants radio...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.