Richtextbox Control + Highlighting

  • Thread starter Thread starter jman3
  • Start date Start date
J

jman3

I have a richtextbox control and I am adding several lines of text to it.

I am trying to make it so that any text that starts with "*" is bolded, and
that all other lines are kept in regular type.

However, when I try switching between bold and regular the whole RTB control
either becomes bold or regular type..how can I fix this?

thanks for your help!
 
* "jman3 said:
I have a richtextbox control and I am adding several lines of text to it.

I am trying to make it so that any text that starts with "*" is bolded, and
that all other lines are kept in regular type.

However, when I try switching between bold and regular the whole RTB control
either becomes bold or regular type..how can I fix this?

Have a look at the control's 'SelectionFont' property.
 
Back
Top