form2.frm
来自「This is a beautiful note,it has lots of 」· FRM 代码 · 共 70 行
FRM
70 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 4980
ClientLeft = 60
ClientTop = 345
ClientWidth = 7410
LinkTopic = "Form1"
ScaleHeight = 4980
ScaleWidth = 7410
StartUpPosition = 3 '窗口缺省
Begin VB.ComboBox Combo2
Height = 300
ItemData = "Form2.frx":0000
Left = 3960
List = "Form2.frx":000D
TabIndex = 4
Text = "Combo2"
Top = 2400
Width = 1335
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Form2.frx":0023
Left = 600
List = "Form2.frx":0030
TabIndex = 3
Top = 2400
Width = 1215
End
Begin VB.Label Label3
Caption = "选择字体"
Height = 375
Left = 4080
TabIndex = 2
Top = 1800
Width = 1095
End
Begin VB.Label Label2
Caption = "选择字号"
Height = 255
Left = 600
TabIndex = 1
Top = 1920
Width = 1215
End
Begin VB.Label Label1
Caption = "计算机程序设计"
Height = 735
Left = 840
TabIndex = 0
Top = 720
Width = 5415
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Combo1_Click()
Label1.FontSize = Combo1.Text
End Sub
Private Sub Combo2_Click()
Label1.FontName = Combo2.Text
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?