VB 如何检测指定系统字体是否存在?

使用组合框...
2026年09月28日 08:18
有1个网友回答
网友(1):

Private Sub Command1_Click()
Dim i, m
For i = 0 To Screen.FontCount - 1
If Text1.Text = Screen.Fonts(i) Then m = 1
Next
If m = 1 Then MsgBox "含有此字体"
End Sub