Results 1 to 4 of 4

Thread: system.drawing.color

  1. #1

    Thread Starter
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336

    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.


  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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.

  3. #3

    Thread Starter
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    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.


  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    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
  •  



Click Here to Expand Forum to Full Width