Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specify the font by code in a list view 1

Status
Not open for further replies.

emmanuelbeaudet

Programmer
Apr 16, 2002
51
CA
I create a listview.

Dim lstCartouches As New ListView
lstCartouches.Bounds = New Rectangle(New Point(137, 320), New Size(500, 70))
.....

now I want to specify the font to use in the listview.
How can I do that ?

Thanks.
Emmanuel
 
Hi
Dim objFont as Font
objFont = New Font("Verdana", 8.25)
lstCartouches.font = objFont

Regards
Nouman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top