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

Re: where find a 'color comboBox' as used in Visio? by Lateralus

Lateralus
Mon Aug 09 11:26:25 CDT 2004

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.

--
Lateralus [MCAD.Net]


"jhs" <jhs@discussions.microsoft.com> wrote in message
news:A047FB16-DEC7-4BCC-B495-3BA21E220108@microsoft.com...
> 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



Re: where find a 'color comboBox' as used in Visio? by hirf-spam-me-here

hirf-spam-me-here
Mon Aug 09 13:09:44 CDT 2004

* =?Utf-8?B?amhz?= <jhs@discussions.microsoft.com> scripsit:
> I'm developping a windows forms app in C#, and i wanted to use 'color
> combobox box'.

I don't know Visio's color combobox, but take a look here:

<URL:http://www.codeproject.com/cs/miscctrl/progressbar.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Re: where find a 'color comboBox' as used in Visio? by Morten

Morten
Tue Aug 10 02:17:43 CDT 2004

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.

--
Happy coding!
Morten Wennevik [C# MVP]