Discussion Which is better to use: RichTextBox vs TextBox

  • Tuesday, August 30, 2011 3:53 PM
     
     
    I'm working on an app that uses two RichTextBoxes right now. With all the issues that seem to come with he richtextboxes I'm thinking about scraping them and just going with a plain Jane text box. What does everyone else think?

All Replies

  • Tuesday, August 30, 2011 4:25 PM
    Moderator
     
     

    These controls really aren't meant to replace each other - they have very different purposes.

     

    I recommend using a TextBox when a TextBox will work.  If you are just looking for a way to enter text, a TextBox is the way to go.

    If you need Rich Text support, then use a RichTextBox.

     

     


    Reed Copsey, Jr. - http://reedcopsey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".