Public Function LoadAllFonts(lst As Control)Contoh penggunaan fungsi untuk mengisi seluruh fonts ke dalam ListBox
Dim i As Integer
For i = 1 To 1000
If Screen.Fonts(i) = "" Then Exit For
lst.AddItem Screen.Fonts(i)
Next i
End Function
Private Sub Form_Load()
LoadAllFonts List1
End Sub