Selection color in a richtextbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sam

    #1

    Selection color in a richtextbox

    Hi,

    When I do
    txtMessage.Sele ctionColor = Color.Red
    txtMessage.Sele ct(iCntr, 1)

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


    Thx

  • Sam

    #2
    Re: Selection color in a richtextbox

    really stupid...
    txtMessage.Sele ct(iCntr, 1)
    txtMessage.Sele ctionColor = Color.Red
    that solved the problem

    Comment

    Working...