Control Choice - Do you avoid using Group Box and use a line to organize your form?

Updated by Brady Stroud [SSW] 1 year ago. See history

123

Group box should only be used when you want to notify the user the controls within it are really related, such as radio buttons.

Image

❌ Figure: Bad Example - Inappropriate use of 'Group Box', there is nothing to be grouped

Image

✅ Figure: Good Example - Use a line to organize different sections

Image

✅ Figure: Good Example - VS.NET 2003 Options form, appropriate use of 'Group Box', the radio buttons are related to each other

Image

✅ Figure: Good Example - VS.NET 2012 Options form, also appropriate use of 'Group Box'

In other cases, you should avoid using group box and replace it with a simple line, this will save you some space on the form and help you organize your form more easily.


Acknowledgements

Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.