form1.frm
来自「Visual.Basic.NET实用编程百例-47.6M.zip」· FRM 代码 · 共 44 行
FRM
44 行
VERSION 5.00
Begin VB.Form Form1
Caption = "字体信息"
ClientHeight = 3210
ClientLeft = 60
ClientTop = 345
ClientWidth = 2700
LinkTopic = "Form1"
ScaleHeight = 3210
ScaleWidth = 2700
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "获取"
Height = 495
Left = 600
TabIndex = 1
Top = 2640
Width = 1335
End
Begin VB.ListBox List1
Height = 2400
Left = 120
TabIndex = 0
Top = 120
Width = 2415
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()
Dim i As Integer
For i = 0 To Screen.FontCount - 1
Me.List1.AddItem (Screen.Fonts(i))
Next
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?