By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,261 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,261 IT Pros & Developers. It's quick & easy.

rgb to colour

P: n/a
Hi

How can I change an rgb value (192, 255, 192) to a background colour for a
control?

Thanks

Regards
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "John" <jo**@nospam.infovis.co.uk> scripsit:
How can I change an rgb value (192, 255, 192) to a background colour for a
control?


'Color.FromArgb(...)'.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Improve your quoting style:
<http://learn.to/quote>
<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #2

P: n/a
"John" <jo**@nospam.infovis.co.uk> schrieb
How can I change an rgb value (192, 255, 192) to a background colour
for a control?


Do I get it right that you want to change the background colour?

YourControl.BackColor = Color.FromARGB(192, 255, 192)
--
Armin

http://learn.to/quote
http://www.plig.net/nnq/nquote.html

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.