Jump to content

how to add colors in combo box while scroling/click


pravin

Recommended Posts

Posted

Hi Ravi,

once we mouse down on combobox that time it shows the no. of items

in the combobox, i want to insert colors on that items in the combobox.

Pravin

Posted

So let's say we have the combo box below, with the mouse clicked on the drop down symbol to show the list of items:

post-9308-0-76617100-1316709814.png

For ease and clarity of communication, can you just pop this image in Paint and add some color to show what you want to do?

Do you want to color any or each item in a different color? If so, it might not be possible to do that with the native combo box. However, if you must have that functionality, we can create a workaround.

Posted

clicking on the combo box (or what looks like a combo box, but is just a string control) can pop up a list box, where you can set different colors and when the user clicks on the list box, the value is copied to the combo box and the list box hides.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.