是否有一个带有多重复选框的下拉组合 [英] Is there a drop down combo with multi check box

查看:55
本文介绍了是否有一个带有多重复选框的下拉组合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想要一个单行组合框下拉菜单,但我可以选择

通过支票下拉菜单中的多个项目盒子......


我可以在标准工具箱中看到一个...是否有一个?


如果没有任何建议从哪里得到一个。

谢谢

解决方案

" Aussie Rules" <所以***** @ somewhere.com> schrieb:

我想要一个单行组合框下拉列表,但我可以通过复选框选择下拉列表中的多个项目...
我可以在标准工具箱中看到一个......是否有一个?

如果没有任何关于从何处获取产品的建议。




不,没有这样的控制权。从可用性的角度来看,组合框是不适合功能性的从n中选择m个项目。我建议使用CheckedListBox控件或者启用带有

复选框的ListView控件。


请注意,有一些组专门用于.NET窗体开发的

microsoft.public.dotnet.framework.windowsform s组层次结构,用于

示例microsoft.public.dotnet.framework.windowsforms.co ntrols,其中

讨论侧重于Windows窗体控件开发。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/petition/>




Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

新闻:OL ************* @ TK2MSFTNGP12.phx.gbl ...

| 澳大利亚规则 <所以***** @ somewhere.com> schrieb:

| >我想要一个单行组合框下拉列表,但我可以在哪里选择


| >通过复选框下拉菜单中的多个项目...

| >

| >我可以在标准工具箱中看到一个...是否有一个?

| >

| >如果没有任何关于从哪里获得的建议。

|

|不,没有这样的控制。从可用性的角度来看,组合框是

|不适合于功能性选择n个中的m个项目。我

|建议使用带有

|的CheckedListBox控件或ListView控件反而启用了复选框。


再次使用herf,你只提供由于缺乏ui

开发经验而被覆盖的意见。一个带有可检查物品的下拉式组合框是一个很好的想法,当一个人被屏幕房地产限制时...即

手持设备和较小的屏幕设备如坚韧的书或其他触摸屏

接口用于pos开发等。


a更多有用的评论本来建议继承一个

checkedlistbox或listview到用户定义的控件中,这样他就能得到他所描述的
。不要试图用他们*想要*做什么来讨论他们*你想他们应该做什么!


"史蒂夫" < a@bc.com> schrieb:

| 澳大利亚规则 <所以***** @ somewhere.com> schrieb:
| >我想要一个单行组合框下拉列表,但我可以在哪里选择
| >下拉菜单中的多个项目通过复选框...
| >
| >我可以在标准工具箱中看到一个......有一个吗?
| >
| >如果没有任何关于从哪里获得的建议。
|
|不,没有这样的控制。从可用性的角度来看,组合框是
不适合于功能性选择n个中的m个项目。我
|建议使用带有
|的CheckedListBox控件或ListView控件相反,启用了复选框。

再次使用herf,您只提供由于缺乏ui
开发经验而被覆盖的意见。


我已经学习了几年的用户界面设计和人机交互......

a下拉组合框可检查的项目是一个
*精彩*的想法


不适用于标准Windows窗体。在Windows中,组合框在用户选择了

项后关闭。如果用户有可能选择多个项目,则控件的下拉部分必须保持打开状态,以提供良好的用户体验。但是,这会导致Windows提供的控件集之间出现不一致/行为。

当一个人受到屏幕不动产的限制时......即<手持设备和较小的屏幕设备,如硬拷贝或其他触摸屏界面开发等等。


我指的是标准Windows窗体。当然,有特殊情况

和设计用于这些情况的用户界面库应该包含

适当的控制与/一致/行为。

a更有帮助的评论可能是建议将
checkedlistbox或listview继承到用户定义的控件中,这样他就能得到他所描述的内容。不要试图用他们*想要*做什么来讨论他们*他们应该做的事情!




有时最好不提供解决方案...


-

MS Herfried K. Wagner

MVP < URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/petition/>


Hi,

I want to have a single line combo box dropdown, but where i can selected
multiple items in the drop down via a check box...

I can see one in the standard tool box... is there one ?

If not any suggestions as to where to get one from.
Thanks

解决方案

"Aussie Rules" <so*****@somewhere.com> schrieb:

I want to have a single line combo box dropdown, but where i can selected
multiple items in the drop down via a check box...

I can see one in the standard tool box... is there one ?

If not any suggestions as to where to get one from.



No, there is no such control. From a usability perspective comboboxes are
not suitable for the functionaliy "selection of m items out of n". I
suggest to use a CheckedListBox control or a ListView control with
checkboxes enabled instead.

Note that there are some groups devoted to .NET Windows Forms development in
the "microsoft.public.dotnet.framework.windowsform s" group hierarchy, for
example "microsoft.public.dotnet.framework.windowsforms.co ntrols", where
discussion focuses on Windows Forms control development.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>



"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OL*************@TK2MSFTNGP12.phx.gbl...
| "Aussie Rules" <so*****@somewhere.com> schrieb:
| > I want to have a single line combo box dropdown, but where i can
selected
| > multiple items in the drop down via a check box...
| >
| > I can see one in the standard tool box... is there one ?
| >
| > If not any suggestions as to where to get one from.
|
| No, there is no such control. From a usability perspective comboboxes are
| not suitable for the functionaliy "selection of m items out of n". I
| suggest to use a CheckedListBox control or a ListView control with
| checkboxes enabled instead.

again herf, you offer only oppinion that is blanketed by lack of ui
development experience. a drop-down combobox with checkable items is a
*wonderful* idea when one is simply limited by screen real-estate...i.e.
handhelds and smaller screened devices like toughbooks or other touch screen
interfaces for pos development, etc..

a more helpful comment would have been to suggest inheriting a
checkedlistbox or listview into a user-defined control so he can get what
he''s describing. don''t try to talk op''s out of what they *want* to do with
what you *think* they should do!


"steve" <a@bc.com> schrieb:

| "Aussie Rules" <so*****@somewhere.com> schrieb:
| > I want to have a single line combo box dropdown, but where i can
selected
| > multiple items in the drop down via a check box...
| >
| > I can see one in the standard tool box... is there one ?
| >
| > If not any suggestions as to where to get one from.
|
| No, there is no such control. From a usability perspective comboboxes
are
| not suitable for the functionaliy "selection of m items out of n". I
| suggest to use a CheckedListBox control or a ListView control with
| checkboxes enabled instead.

again herf, you offer only oppinion that is blanketed by lack of ui
development experience.
I have studied User Interface Design and Human-Computer Interaction for
several years...
a drop-down combobox with checkable items is a
*wonderful* idea
Not for standard Windows Forms. In Windows, the combobox closes after an
items is selected by the user. If the user should have the possibility to
select more than one item, the dropdown part of the control must remain
opened to provide a good user experience. However, this would lead to
/inconsistent/ behavior between the set of controls provided by Windows.
when one is simply limited by screen real-estate...i.e.
handhelds and smaller screened devices like toughbooks or other touch
screen
interfaces for pos development, etc..
I was referring to standard Windows Forms. Sure, there are special cases
and user interface libraries designed for use in these cases should contain
appropriate controls with /consistent/ behavior.
a more helpful comment would have been to suggest inheriting a
checkedlistbox or listview into a user-defined control so he can get what
he''s describing. don''t try to talk op''s out of what they *want* to do with
what you *think* they should do!



Sometimes it''s better not to provide a solution...

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


这篇关于是否有一个带有多重复选框的下拉组合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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