CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    May 2005
    Posts
    39

    Changing Text Color

    Is there any way to use separate color to separate characters in a text box or rich text box??

  2. #2
    Join Date
    Apr 2009
    Posts
    394

    Re: Changing Text Color

    Yes, in a RTB, you would use the .Sel* to do what you want. Like .SelStart = 1, .SelLength = 1, .SelColor = vbRed...



    Good Luck

  3. #3
    Join Date
    May 2005
    Posts
    39

    Re: Changing Text Color

    Thanks,It worked fine

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