How can I set the font in a listview control used in a form.

Can't figure out how to change the font used in my listview control. Appreciate any suggestions.
hallpettAsked:
Who is Participating?
 
maratmuCommented:
Dim myfont As StdFont
Set myfont = New StdFont

    With myfont
        .Bold = True
        .Name = "Arial"
        .Size = 20
    End With
   
    Set listview1.Font = myfont
    Set myfont = Nothing
0
 
Nico BontenbalCommented:
Or do it in design by right clicking the listview select 'listview ctrl object' and then Properties and the Font tab.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.