I am trying to show the text from a richTexBox to a second text box which, I am able to do. However the formatting is not retained, I would like to retain the formatting from the first text box in the second. The problem is not the names of the text boxes it must be some form of instruction that i am missing
If EditBoxA.Text IsNot "" Then 'check if EditBoxA contains string EditBoxB.Text = EditBoxA.Text End If End Sub ' and then Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click, Button55.Click EditBoxA.Text = EditBoxB.Text End Sub
If RichTextBox1.Text IsNot "" Then 'check if RichTextBox1 contains string RichTextBox2.Text = TextBox1.Text ' this is not RichTextBox1 End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)