📄 fonts.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "系统字体"
ClientHeight = 3828
ClientLeft = 60
ClientTop = 348
ClientWidth = 4692
LinkTopic = "Form1"
ScaleHeight = 3828
ScaleWidth = 4692
StartUpPosition = 1 'CenterOwner
Begin VB.CommandButton Command1
Caption = "退出程序"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 492
Left = 1080
TabIndex = 5
Top = 3240
Width = 1692
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.6
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 4
Text = "系统字体"
Top = 2640
Width = 2175
End
Begin VB.ListBox List2
Height = 1968
Left = 2400
TabIndex = 3
Top = 480
Width = 2175
End
Begin VB.ListBox List1
Height = 1968
Left = 120
TabIndex = 0
Top = 480
Width = 2175
End
Begin VB.Label Label2
Caption = "打印机字体 :-"
Height = 252
Left = 2520
TabIndex = 2
Top = 120
Width = 1572
End
Begin VB.Label Label1
Caption = "屏幕字体 :-"
Height = 252
Left = 120
TabIndex = 1
Top = 120
Width = 2052
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim i, j As Integer
For i = 1 To Screen.FontCount - 1
List1.AddItem Screen.Fonts(i)
Next i
'For j = 1 To Printer.FontCount - 1
'List2.AddItem Printer.Fonts(j)
'Next j
End Sub
Private Sub List1_Click()
Text1.FontName = List1.Text
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -