Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pick a color, not a value in a combobox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00453293
Message ID:
00453386
Views:
24
Hi!

Listbox is much easier becuase you can replace it by TreeView ActiveX control, which allows to change properties of each note (item in list), such as back color or fore color etc etc.

For combobox, you can try to use images. Soemwehere in the help you can find a sample of how to add images to the listbox or combobox. Than, one image - one color.

>Is there any way to show different color bands as items in a combobox drop-down list? In other words the 1st item in the drop-down list is blue, the 2nd item is red, the 3rd item is yellow.
>
>So the user picks a color and then that color is displayed in the combobox displayvalue. This is for a color-coded system where different colors mean different amounts instead of having numbers for values in my combobox drop-down list.
>
>I know someone has a custom listbox class out here that I have used that allows one to make different drop-down list rows different colors. I may have to use that class.
>
>Or can anyone think of another way to do this?
>
>TIA
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform