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
40
Need image on left side of display text in ultracomboeditor in vb.net win form
posted

Need image on left side of display text in ultracomboeditor in vb.net win form.

Please help.

I was able to insert display text but not the image. We have imagelist available.

Attaching my requirement.

Thanks in advance!

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Ratnank,

    You can accomplish this by setting the Image property on the ValueListItem's Appearance object. For example, your code might look like this:

    For index = 0 To UltraComboEditor1.ValueList.ValueListItems.Count - 1
       UltraComboEditor1.ValueList.ValueListItems(index).Appearance.Image = images.Images(index)
    Next

    Please try this out and let me know whether it works.

Children