It says system.drawing.color can not accept an integer value?
I am trying to set the backcolor of a button using the RGB(red,green,blue) function. But it says i can't becasue it's an integer.
So what's the deal with it?
Thanks!
Printable View
It says system.drawing.color can not accept an integer value?
I am trying to set the backcolor of a button using the RGB(red,green,blue) function. But it says i can't becasue it's an integer.
So what's the deal with it?
Thanks!
I responded to it in the ASP.Net forum, but here is a link:
http://msdn.microsoft.com/library/de...margbtopic.asp
There are a few different overloads for the FromArgb() method.
ahhh! Works like a charm.. thanks man! I'm a newb at this so i'm still learning where all the functions are :( is there a place to get the entire function list?
I just use the msdn library a lot. I have found it to give me almost everything I have needed. www.msdn.microsoft.com/library (although, I am sure you already know that).
What I also do is use the intellisense a lot. It is a god send. I just start typing namespaces, looking what is inside them, going to the next, tell I find something that looks like what I want. Then I go to the docs to learn how to use it.