|
-
Mar 30th, 2003, 09:37 PM
#1
Thread Starter
PowerPoster
system.drawing.color
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!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Mar 30th, 2003, 09:53 PM
#2
PowerPoster
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.
-
Mar 30th, 2003, 10:59 PM
#3
Thread Starter
PowerPoster
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?
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Mar 31st, 2003, 09:29 PM
#4
PowerPoster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|