FONT
Como faço para saber se uma determinda font esta instalada no micro do usuario?
a primeira carrega elas em uma list
a segunda vizualiza a fonte
Private Sub Form_Load()
Dim contador As Integer
For contador = 0 To Screen.FontCount - 1
List1.AddItem Screen.Fonts(contador)
Next
End Sub
Private Sub List1_Click()
Static tempheight As Single
If tempheight = 0 Then tempheight = List1.Height
List1.Font.Name = List1.List(List1.ListIndex)
List1.Height = tempheight
End Sub
a segunda vizualiza a fonte
Private Sub Form_Load()
Dim contador As Integer
For contador = 0 To Screen.FontCount - 1
List1.AddItem Screen.Fonts(contador)
Next
End Sub
Private Sub List1_Click()
Static tempheight As Single
If tempheight = 0 Then tempheight = List1.Height
List1.Font.Name = List1.List(List1.ListIndex)
List1.Height = tempheight
End Sub
Tópico encerrado , respostas não são mais permitidas