Different font color for each character in one label

  • Thread starter Thread starter brandon
  • Start date Start date
B

brandon

for example if i have label1.Text = "ABCDEFG"
and i want to make "A" in red color "B" in blue color
with in same label

can anyone tell me how to do this?
 
Use more than one label, or override the OnPaint method and paint them
yourself.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 

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