SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jan 2005
    Location
    uk colchester
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    vb 6 option button help

    I am trying to get a font of a label to change to times new roman when an option button is clicked, i have tried this

    Private Sub optHigh_Click()
    lblHeading.FontName=Times New Roman

    End Sub

    This is wrong but i cant work out how to get the font to change, can anyone help please

    Regards
    Ian

  2. #2
    SitePoint Zealot
    Join Date
    Jan 2005
    Location
    uk colchester
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok sorted it and answered my own question, I was nearly there just needed the " "

    lblHeading.Font = "Times New Roman"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •