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
List all WebColors in a drop down
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- apowershelluser
- Posts: 194
- Last visit: Fri Mar 22, 2024 4:38 am
Re: List all WebColors in a drop down
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.
- apowershelluser
- Posts: 194
- Last visit: Fri Mar 22, 2024 4:38 am
Re: List all WebColors in a drop down
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
FYI, we included a new control set to display colors in a combobox:
https://www.sapien.com/blog/2019/06/13/ ... of-colors/
https://www.sapien.com/blog/2019/06/13/ ... of-colors/
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.