CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 1999
    Location
    Leicester England
    Posts
    61

    Coloured Textbox

    Does anyone know how I can change the colour of text in a textbox control ?
    I know you can use the foreground colour of the text control to do this but this changes all the text but what I want is for individual lines of text within my textbox to be of different colour.

    Any help would be appreciated.

    Many thanks
    Raj



  2. #2
    Join Date
    Jan 2000
    Location
    Bulgaria
    Posts
    2

    Re: Coloured Textbox

    Use RichEditControl instead of TextControl.


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