Results 1 to 4 of 4

Thread: Newbie Readonly Property Q:

  1. #1

    Thread Starter
    Lively Member JAtkinson's Avatar
    Join Date
    Feb 2004
    Location
    Richmond, VA
    Posts
    68

    Newbie Readonly Property Q:

    VB Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.  
    3.         RichTextBox1.Font.Bold = True
    4.  
    5. End Sub

    It says it's a read only property. Is there a way to change that?

    Thanks,
    James

  2. #2
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    Code:
    RichTextBox1.Font = New Font("Arial", 8, FontStyle.Bold)

  3. #3

    Thread Starter
    Lively Member JAtkinson's Avatar
    Join Date
    Feb 2004
    Location
    Richmond, VA
    Posts
    68
    Thanks a lot!!
    Visual Studio .net 2003 EA
    VB .net
    C#

  4. #4
    Addicted Member Hole-In-One's Avatar
    Join Date
    Mar 2003
    Location
    Minnesota
    Posts
    195
    Anytime!

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