blacklister February 2016

How to put a button that will make the text area that I want bold

I am writing program:

enter image description here

Now, I want the user of this program, to write a text, and when he wants, to mark a "text area" and by pressing a button (where the arrow points to) the "marked" text, will go bold. Any ideas ?

Answers


nAviD February 2016

You have to use RichTextbox control then you use this code for click event of button or user can simply use Ctrl+B:

   richTextBox1.SelectionFont=new Font(richTextBox1.Font, FontStyle.Bold);

Post Status

Asked in February 2016
Viewed 1,957 times
Voted 9
Answered 1 times

Search




Leave an answer