form1.frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 35 行
FRM
35 行
VERSION 5.00
Begin VB.Form Form1
Caption = "例[4-9] 字体样式"
ClientHeight = 1875
ClientLeft = 60
ClientTop = 345
ClientWidth = 3150
LinkTopic = "Form1"
ScaleHeight = 1875
ScaleWidth = 3150
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "开始"
Height = 375
Left = 1800
TabIndex = 0
Top = 1320
Width = 1095
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()
FontName = "宋体"
Print FontName; " 我们走进信息时代" '输出当前正在使用的字体类型及文字
Print
FontName = "隶书"
Print "隶书式样"; " 信息骄子"
Print
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?