Results 1 to 2 of 2

Thread: read only?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Location
    USA
    Posts
    20

    Smile read only?

    Greetings,

    This was asked before by someone else in the archives but there was no responses.

    Does anyone know of a way to set font characteristics (bold / italics / size / etc) during runtime?

    I am particularly interested in richtextbox controls. It seems that all the font controls are read only.

  2. #2
    Thelonius
    Guest
    You have to instiate a new font class:

    RichTextBox1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8, FontStyle.Bold)

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