CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Location
    Chile
    Posts
    13

    Arrow Add text into richtextbox

    Debug shows that my text in the object is rtf formatted but then I try adding it to the richtextbox, the text loses its format; so, only plain text is displayed


    rich.SelectAll();
    rich.Clear();
    rich.AppendText(t);

    I also try using the following code, but it fails at the assignment

    rich.SelectAll();
    rich.Clear();
    rich.SelectionRTF=t;

    Any help please..
    Pumpobee is prolounced as mumbolee

  2. #2
    Join Date
    Dec 2009
    Posts
    109

    Re: Add text into richtextbox

    Can you be a little more specific about your problem? Because I can't seem to understand what your dilemma is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured