radio button

T

Tony

Hello!

If I have three radio buttons and place these on a form without using any
GroupBox
I can only select one at a time.

I have always thought that the purpose to use GroupBox is to force that only
one radio button can be selected at a time.

So now to my question: What is the main purpose to use GroupBox ?
Is it just to group them logically in some suitable way?

//Tony
 
I

Ignacio Machin ( .NET/ C# MVP )

Hello!

If I have three radio buttons and place these on a form without using any
GroupBox
I can only select one at a time.

I have always thought that the purpose to use GroupBox is to force that only
one radio button can be selected at a time.

So now to my question: What is the main purpose to use GroupBox ?
Is it just to group them logically in some suitable way?

//Tony

The purpose of GroupBox is to simply group controls, so you can
controls them easily and of course to group them in the screen
logically
you can say for example groupBoxControl1.Visible = false and all the
controls inside the groupbox will not be visible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top