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

Thread: rich text boxes

  1. #1
    Guest

    rich text boxes

    how do I change the fontsize of a rich text box? or make the font of it bold, italic, underline, and/or strikethru?


  2. #2
    Join Date
    Dec 1999
    Location
    Malaysia
    Posts
    56

    Re: rich text boxes

    Hello...
    This is a bit of coding taken from my project...

    RichTextBox1.Font.Size = 12
    RichTextBox1.Font.Bold = true
    RichTextBox1.Font.Italic = true
    RichTextBox1.Font.Strikethrough = true
    RichTextBox1.Font.Underline = true




    Hope this helps

    ____________________________________
    The VB Bugs in my Life...

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