newbie question on assigning color at run time

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi,

How do I change the backcolor of a control at run time. I know I can do
this: .backcolor = Color.Yellow. But what if I want to use color #ffffffcc?

TIA
 
myColor = Color.FromArgb(0xff, 0xff, 0xcc);

There's also a ColorTranslator class.

-Michael
MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top