Page 2 of 2

Re: List all WebColors in a drop down

Posted: Fri Apr 05, 2019 7:55 am
by JohnTitor
Just curious why would you do this?

Is this just to show more properties and the correct enum?

This is working just fine for me, as of right now I'll only be worried about the BG of the form

Re: List all WebColors in a drop down

Posted: Fri Apr 05, 2019 8:17 am
by jvierra
If you want the color objects then this retains the object and not just the name. Without the object it is not possible to tell what kind of color it is or where it can be used. If you think that the strings are all you need then don't worry about it but the need may arise and this is the solution. It also is a good simple demo of how to use a list control with a collection of objects.

Re: List all WebColors in a drop down

Posted: Fri Apr 05, 2019 8:21 am
by JohnTitor
It's extremely cool and I'm definitely keeping it for future use like I do with all your use..

Re: List all WebColors in a drop down

Posted: Thu Jun 13, 2019 10:01 am
by davidc
FYI, we included a new control set to display colors in a combobox:

https://www.sapien.com/blog/2019/06/13/ ... of-colors/