Selection color in a richtextbox

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi,

When I do
txtMessage.SelectionColor = Color.Red
txtMessage.Select(iCntr, 1)

txtMessage being a richtextbox, my text is being selected but it
remains black. What am I doing wrong ?


Thx
 
really stupid...
txtMessage.Select(iCntr, 1)
txtMessage.SelectionColor = Color.Red
that solved the problem
 

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