Reputation: 784
I use RichTextBox in my windows application program. The rtf of RichTextBox has text with any color. I use Combobox for user can change font of RichTextBox. My problem is when user change font, all text of RichTextBox has black. How can i privent to change color of text ? Thanks
Upvotes: 0
Views: 544
Reputation: 1532
use the .SelectionFont-Property of the RichTextBox
more infos: http://msdn.microsoft.com/en-us/library/system.windows.forms.richtextbox.selectionfont.aspx
Upvotes: 1