B Bill English Apr 18, 2004 #1 How do I make a button apply bold to a textbox, the RichTextBox.Font.Bold property is read only?
W William Ryan eMVP Apr 19, 2004 #2 Bill: You can add the tags to the underlying RTF which is one way to do it ,but I don't think that's what you are after. You can use the SelectionFont property which will allow you to manipulate the font of the selectedtext. http://msdn.microsoft.com/library/d...rfsystemwindowsformsrichtextboxclasstopic.asp HTH, Bill
Bill: You can add the tags to the underlying RTF which is one way to do it ,but I don't think that's what you are after. You can use the SelectionFont property which will allow you to manipulate the font of the selectedtext. http://msdn.microsoft.com/library/d...rfsystemwindowsformsrichtextboxclasstopic.asp HTH, Bill
G Guest Apr 19, 2004 #3 Try the following code If it doesn't help you, mail me at (e-mail address removed), (e-mail address removed) With regards Sadha Sivam Malleable Minds software pvt Ltd.
Try the following code If it doesn't help you, mail me at (e-mail address removed), (e-mail address removed) With regards Sadha Sivam Malleable Minds software pvt Ltd.
G Guest Apr 19, 2004 #5 Sorry i forget to attach the solutio Try this RichTextBox1.SelectionFont = New System.Drawing.Font(RichTextBox1.SelectionFont, FontStyle.Bold
Sorry i forget to attach the solutio Try this RichTextBox1.SelectionFont = New System.Drawing.Font(RichTextBox1.SelectionFont, FontStyle.Bold