how do I change it via code?
I tried listview.FontSize, but no such property exists.
Printable View
how do I change it via code?
I tried listview.FontSize, but no such property exists.
place a point between font and size
I have this code:
but it still takes the settings from design time, is that the right format, or what?Code:Dim optsList As Variant
Private Sub Form_Load()
Open "settings.dat" For Input As #1
Line Input #1, strTemp
'And I made sure that they are in the right order in the file
optsList = Split(strTemp, ":")
listview.Font = optsList(0) & "." & optsList(1)
Close #1
End Sub
listview.Font.Name = optsList(0)
listview.Font.Size = optsList(1)
cool, got it!