views:

623

answers:

4

This question is for C# 2.0 Winform.

For the moment I use checkboxes to select like this : Monday[x], Thuesday[x]¸... etc.

It works fine but is it a better way to get the day of the week? (Can have more than one day picked)

+2  A: 

checkbox seems appropriate.

Leon Tayson
Ok Thank +1 I will keep the Checkbox.
Daok
+2  A: 

You can also use a ListView with CheckBoxes on...

for a little less hard coding.

chakrit
Ok Thank +1 I will keep the Checkbox but if need more space use your idea.
Daok
+1  A: 

Checkboxes would work fine, and there is a preexisting paradigm of that usage in Windows Scheduled Tasks. To see that example, create a scheduled task and select Weekly for the frequency.

Forgotten Semicolon
+3  A: 

Checkboxes are the standard UI component to use when selection of multiple items is allowed. From UI usability guru Jakob Nielsen's article on Checkboxes vs. Radio Buttons:

"Checkboxes are used when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn't uncheck the others."

When designing a UI, it is important to use standard or conventional components for a given task. Using non-standard components generally causes confusion. For example, it would be possible to use a combo box which would allow multiple items to be selected. However, this would require the user to use Ctrl + click on the desired items, an action which is not terribly intuitive for most people.

Chris Lawlor