我应该使用级联组合盒还是单个勾选框?最有效率? [英] Should I used Cascading Combo Boxes or individual tick boxes? Most effective?

查看:56
本文介绍了我应该使用级联组合盒还是单个勾选框?最有效率?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我的任务是设计一个学生用来提交在学校上课的课程。这些课程分为第一学期和第二学期,每学期可选择3(最多),但这取决于权重(可能是2门课程)。

但是S1和不能一起选择,S2中的某些课程不能一起选择,如果在S2中没有选择某些课程,则不能选择S2中的某些课程。


这个想法和编码应该是相当不错......我想我想确定如何布局可用选项:


- 我应该使用单独的勾选框(作为选项组不允许)多个选择)然后在提交按钮内创建编码


-Or可以使用3个不同的组合框(每学期)并根据每个过滤器获取它们在其他1/2组合框中选择了其他课程?????或者这会是太多工作吗?


任何想法都会非常感激,


谢谢

Hi,

I''ve been tasked to designing a form for ''students'' to use to submit which courses to take at school. The courses are split into those for Semester 1 and Semester 2 and 3(max) can be chosen each semester but it does depend on the weighting (could be 2 courses).
However certain courses in S1 and cannot be chosen together, certain courses in S2 cannot be chosen together and certain courses in S2 cannot be chosen if certain ones aren''t chosen in S2.

The idea and the coding should be fairly ok...I think however I am trying to determine how to layout the available options:

- Should I use individual tick boxes (as an option group won''t allow multiple selection) and then create the coding within the''submit'' button

-Or is is possible to use 3 different combo boxes (per semester)and get them to each filter according to which other courses have been selected in the other 1/2 combo boxes????? Or would this be too much work??

Any ideas would be greatly appreciated,

Thanks

推荐答案

一般来说,我更喜欢层叠组合框而不是选项组中的勾选框的想法,原因如下:
Generally speaking, I prefer the idea of Cascading Combo Boxes as opposed to Tick Boxes in Option Groups, for the following reasons:
  1. 级联组合框将根据先前组合框中的选择仅列出可行选项。代码将被放置在每个组合框的AfterUpdate()事件中,以便为下一个组合提供正确的选择。
  2. 勾选框会在表单上占用更多的空间,可能会更加混乱用户。
  3. 精心编码的级联组合框可以避免让用户点击提交按钮,使他/她的选择因冲突而被拒绝。提交按钮也会给人一种错误的印象,即所有选择都是可以接受的,只是提交它们的问题。
  4. 这只是基于有限信息的意见,没有实际数据可以去因此,请在此背景下查看。


是的我同意你的观点,我认为它看起来也更整洁。


真正的问题是我不知道从哪里开始编码以及在哪里编写编码......你能帮忙吗?


我应该补充一下我是一个非常初学者所有这一切因此组合框似乎有点令人生畏!!
Yes I agree with you, I think it would look much neater as well.

The real issue is that I have no idea where to begin with the coding and where to write the coding as well...can you help?

I should add I am a pretty much a beginner on all of this and therefore a combo box does seem slightly daunting!!


我会需要更详细的信息才能上手,所以请提供参数以及一些样本数据,哪些可以共存,哪些不能共存等。
I will need much more detailed information to get started, so kindly provide the Parameters as well as some Sample Data, what can and can not coexist, etc.


这篇关于我应该使用级联组合盒还是单个勾选框?最有效率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆