|
-
Oct 15th, 2003, 03:20 PM
#1
Thread Starter
Hyperactive Member
Setting Backcolor using RGB...[RESOLVED]
Howdy,
I'd like to set the BackColor of my PictureBox control when I've got the R,G, and B (0-255) values.
Anyone know how I go about doing that?
Thanks!
-Ben
Last edited by BenFinkel; Oct 15th, 2003 at 03:40 PM.
-
Oct 15th, 2003, 03:39 PM
#2
Addicted Member
try
[your control ].backcolor=system.drawing.color.FromArgb(red,green,blue)
-
Oct 15th, 2003, 03:40 PM
#3
Thread Starter
Hyperactive Member
Thanks! That works perfectly.
--Ben
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
|