Last post Jul 24, 2006 07:15 PM by CsNetworks
Jul 11, 2006 08:26 AM|CsNetworks|LINK
Hi, i am working on an online graphics package program, that doesnt require the user to actually paint anything, it uses an xml-based language i have developed, but my problem is this:
i wanted to allow the users, every colour option that is available in the color list, in the .net framework.
so far i have been doing this using:
Dim ColorList as new sortedDictionary(of string,color)
And then when the xml requested a colour:
Dim finalColor as drawing.color = returnColor("aliceblue")
function returnColor(byval color as string)
Dim finishColor as color = Nothing
if colorList.contains(color) = true then
finishColor = colorList.item(color)
finishColor = drawing.color.black
does anyone no a way, to request a colour/brush/pen based upon a string, without having to create individual dictionaries for them?
Jul 21, 2006 07:53 AM|Oinkage|LINK
I would create my own controls that only give access to the websafe color palette since your target audience is online. Check out this guy's solution.
Jul 24, 2006 07:15 PM|CsNetworks|LINK
Thanks but, i think i will stick with my original solution
And also, i know this is probably in the wrong place, but i'm working on my own web hosting program, but it doesnt use HTML, it works on my own language, but it responds instantly, so it really is like creating an entire application
If you are interested in signing up to be a beta-tester or if you would like to keep an eye on the development, you can do all this at:
Unfortunately until i get a broadband connection, the site may not be available sometimes