Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
281
How do I add values to the ComboBox tool
posted

 this doesnt work. 

Dim comboBoxTool As New Infragistics.Win.UltraWinToolbars.ComboBoxTool("ComboBoxTool1")

comboBoxTool.ValueList.ValueListItems.Add("All Documents")

 

Parents
No Data
Reply
  • 44743
    posted
    renjitk said:

     this doesnt work. Dim comboBoxTool As New Infragistics.Win.UltraWinToolbars.ComboBoxTool("ComboBoxTool1")

    comboBoxTool.ValueList.ValueListItems.Add(

    "All Documents")

     

    What does not work with the code? If it does not compile or it throws a run-time exception, it is a bug and I would recommend submitting it to the support group: http://ko.infragistics.com/gethelp. If you mean it does not work because you can't see the tool on your form at run-time, this is because you must add the newly created tool to the Tools collection of your toolbars manager to add the root tool to the manager. Then you need to add an instance tool by calling AddTool on the Tools collection of a toolbar or menu and passing in "ComboBoxTool1".

Children
No Data