ESBPCS for VCL
color combo
Thread Starter: Paul_D Started: 1/28/2010 10:25 PM UTC
Replies: 7
color combo

I see that the color combo has a ColorNames property, so that I can say what text I want associated with a color.  And I can preset some custom colors for the custom color dialog.  But, what I want is to have custom colors in the drop down without having the separate custom color dialog. Specifically, I want to be able to put in the dialog the .NET color set.  Can I do this?
Re: color combo
Hello Paul_D,

No it can't be easily customised - though of course we can always add more colours if we have suitable names and values but I haven't really investigated .NET colours.

Glenn Crouch, mailto:glenn@esbconsult.com
ESB Consultancy, http://www.esbconsult.com
Home of ESBPCS, ESB Calculators, ESBStats and ESBPDF Analysis
Kalgoorlie-Boulder, Western Australia
Re: color combo

Are these what you are after to have in ESBPCS ColorCombo:

http://www.w3schools.com/HTML/html_colornames.asp

Glenn Crouch mailto:glenn@esbconsult.com
ESB Consultancy http://www.esbconsult.com
Home of ESBPCS & ESB Calculators
Kalgoorlie-Boulder, Western Australia

Re: color combo

Yes, that's the color set.
Re: color combo

I've add the 140 HTML Colours as Constants, and updated the underlying Engine so that you can choose ShowHTMLColors (False by default) in our Colour ComboBoxes.

Still need to do a bit of testing but seem to be working well.

Will be included in v5.3.1, which hopefully will be out in first week of March.

Glenn Crouch mailto:glenn@esbconsult.com
ESB Consultancy http://www.esbconsult.com
Home of ESBPCS & ESB Calculators
Kalgoorlie-Boulder, Western Australia

Re: color combo
The recently released ESBPCS v5.4 now has optional support for HTML (.NET) Colours :)

Glenn Crouch mailto:glenn@esbconsult.com
ESB Consultancy http://www.esbconsult.com
Home of ESBPCS & ESB Calculators
Kalgoorlie-Boulder, Western Australia
Re: color combo

Hey, I saw your post in the Emb newsgroups.  Thanks.  You seem to say that what I've been calling .NET colors actually stem from HTML.  I didn't know that.
Re: color combo

Yes the URL I posted earlier in the thread shows this :)

If you do a google search on "HTML Colors" or "HTML Colours" - you will see that they are also referred to as .NET Colours but that HTML Colours seems to be the "more popular" term :)

Glenn Crouch mailto:glenn@esbconsult.com
ESB Consultancy http://www.esbconsult.com
Home of ESBPCS & ESB Calculators
Kalgoorlie-Boulder, Western Australia