form1.frm
来自「vb精彩编程希望大家有用」· FRM 代码 · 共 38 行
FRM
38 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 2670
ClientLeft = 60
ClientTop = 345
ClientWidth = 4485
LinkTopic = "Form1"
ScaleHeight = 2670
ScaleWidth = 4485
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "按我试试"
Height = 495
Left = 1680
TabIndex = 1
Top = 1560
Width = 1215
End
Begin VB.Label Label1
Caption = "Label1"
Height = 495
Left = 960
TabIndex = 0
Top = 600
Width = 2655
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()
'设置Label1控件的显示内容
Label1.Caption = "欢迎使用Visual Basic,将使你步入一个神奇的世界"
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?