Search code examples
vb.netrichtextboxbackcolor

How to set the backcolor of rich textbox?


Can anyone know how to set the backcolor of a richtextbox same as default backcolor of a form??


Solution

  • RichTextBox1.BackColor = Form1.BackColor
    

    Or

    RichTextBox1.BackColor = System.Drawing.SystemColors.Control