[RESOLVED] Color Palette Help
I have a button in my form that opens a color palette using the CommonDialog component. I was wondering if there is a way to set the hex decimal of the color that is chosen in the palette to a label.
For example, if someone chooses the color red in the color palette, then
Label1's caption would be #FFOOOO
Re: [RESOLVED] Color Palette Help
http://www.devx.com/vb2themax/Tip/19166
Edit: Don't add the "#" string at the beginning of strHex (post#2) or in ColorToHTML()'s return value (linked code).
Re: [RESOLVED] Color Palette Help
Quote:
Originally Posted by iPrank
Okay thanks :)