Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RichTextBox and underline color

Is there any way to change the color of an underline in a RichTextBox? I've tried this but it doesn't seem to work. Anybody know where did those enum values came from? Didn't see any documentation for it.

Thanks.

like image 286
Meidan Alon Avatar asked Oct 12 '08 13:10

Meidan Alon


1 Answers

The enum values are the standard windows values when passing messages to controls. One thing that the article doesn't mention, is that you need to have a selected text in the RichTextBox in order to apply formatting to it, so maybe that's what is missing.

like image 110
Miki Watts Avatar answered Sep 28 '22 23:09

Miki Watts