where find a 'color comboBox' as used in Visio?

G

Guest

Hello,

I'm developping a windows forms app in C#, and i wanted to use 'color
combobox box'.

This control is used in Visio:
Tools > options > view > color settings

Is this control a standard control?
where/how can i find it?

Thanks for your help
 
L

Lateralus [MCAD.Net]

I don't have visio handy righ now so I'm not sure what you are looking for.
If you want to change the background color or the text color just use the
BackColor / ForeColor properties.
 
M

Morten Wennevik

Hi jhs,

The color comboBox in Visio is actually just a button with a custom drawn surface. Clicking it will call up a separate Color picking window that will be closed when you either click the button or the button receives a leave event.

I don't know where to find such a control, but somewhere in the archives of the C# group on this news server there should be some code showing how to create a combobox which lists all web colors (in color) and shows the currently selected color. Maybe you could work on that to get what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top