Home
Control Choice - Do you avoid using Group Box and use a line to organize your form?
  v1.0 Posted at 27/11/2012 7:58 PM by Rebecca Liu

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

SSW Exchange Reporter Setup
Figure: Bad Example - Inappropriate use of 'Group Box', there is nothing to be grouped
SSW Exchange Reporter Setup - Line for Grouping
Figure: Good Example - Use a line to organize different sections
VS.NET 2003 Options Form
Figure: Good Example - VS.NET 2003 Options form, appropriate use of 'Group Box', the radio buttons are related to each other
Figure: Good Example - VS.NET 2012 Options form, also appropriate use of 'Group Box'
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.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments: