Using colors in ComboBox
Posted on 2004-10-20
I am making a program that displays the value of a resistor when the user enters the colors labeled on the resistor. I want to use a combobox to allow the user to dropdown the different colors that appear on a resistor and select the appropriate color. However, i want only the colors to display, not the word "green, Yellow,ect." Or the color and the text would work.
how do i select different colors in a combobox??
i have tried ComboBox1.Items.Add(Color.Black), and VB accepts this, but when running the program, it doesn't work properly