Combobox with multiple columns

后端 未结 2 1500
太阳男子
太阳男子 2021-01-14 17:22

Scenario: I am in the process of moving an application from access to C# and on one of the forms(in access) the user is able to select a drop down that has

相关标签:
2条回答
  • 2021-01-14 17:24

    From your image combo box does not directly have that capability, however I have seen custom 3rd party controls that do it. I will update if I can find the name of one.

    The software I used had a license of http://www.active-x.com/ActiveX/APEX_Software_Corporation/True_DBList_Pro_5_0/ However this program was written in the days of VB5 (I am not sure if the company that makes the control exists anymore). I'd advise try to find something similar but more up to date.

    0 讨论(0)
  • 2021-01-14 17:25

    The common method of achieving this is overriding the onDropDown event to draw your own dropdown window with multiple values. There's plenty of examples out there ranging from walkthroughs to downloadable controls. Here's a few:

    • http://www.codeguru.com/cpp/controls/combobox/multicolumncombos/article.php/c1825/
    • http://www.codeproject.com/KB/combobox/multicolumncombo.aspx
    • http://www.codeproject.com/KB/combobox/Multicolumn_ComboBox.aspx
    • http://www2.syncfusion.com/library/classref/Syncfusion.Windows.Forms.Tools.MultiColumnComboBox.html
    • http://www.brothersoft.com/downloads/multicolumn-combobox.html
    • http://www.edneeis.com/control.aspx?ID=7
    0 讨论(0)
提交回复
热议问题